Method | Description | |
---|---|---|
ConvertToFS ( [ path ) : void |
Converts all flag files in a directory into real filesystem attributes (executable bits and symlinks).
|
|
IsUnixFS ( [ target ) : bool |
Determines whether a directory resides on a non-Unix filesystem. The flag file is searched for instead of specifiying it directly to allow handling of special cases like creating manifests of subdirectories of extracted archives. |
|
MarkAsNoUnixFS ( [ target ) : void |
Sets a flag for a directory indicating that it resides on a non-Unix filesystem. This makes future calls to IsUnixFS run faster and more reliable.
|
|
Remove ( [ path, [ relativePath ) : void |
Removes one or more flags for a file or directory in an external flag file.
|
|
Rename ( [ path, [ source, [ destination ) : void |
Adds a directory prefix to all entries in an external flag file.
|
|
Set ( [ path, [ relativePath ) : void |
Sets a flag for a file in an external flag file.
|
Method | Description | |
---|---|---|
FindRootDir ( [ flagName, [ target ) : string | ||
GetFiles ( [ flagName, [ target ) : ICollection |
public static ConvertToFS ( [ path ) : void | ||
path | [ | The path to the directory to convert. |
return | void |
public static IsUnixFS ( [ target ) : bool | ||
target | [ | The full path to the directory. |
return | bool |
public static MarkAsNoUnixFS ( [ target ) : void | ||
target | [ | The full path to the directory. |
return | void |
public static Remove ( [ path, [ relativePath ) : void | ||
path | [ | The full path to the flag file, named |
relativePath | [ | The path of the file or directory to remove relative to |
return | void |
public static Rename ( [ path, [ source, [ destination ) : void | ||
path | [ | The full path to the flag file, named |
source | [ | The old path of the renamed file or directory relative to |
destination | [ | The new path of the renamed file or directory relative to |
return | void |
public static Set ( [ path, [ relativePath ) : void | ||
path | [ | The full path to the flag file, named |
relativePath | [ | The path of the file to set relative to |
return | void |