Property | Type | Description | |
---|---|---|---|
AreHardlinked | bool | ||
CreateHardlink | void | ||
CreateSymlink | void | ||
GetFileSystem | string | ||
GetXattr | byte[] | ||
Rename | void | ||
SetXattr | void |
Method | Description | |
---|---|---|
IsExecutable ( [ path ) : bool |
Checks whether a file is marked as Unix-executable. Will return |
|
IsRegularFile ( [ path ) : bool |
Checks whether a file is a regular file (i.e. not a device file, symbolic link, etc.). Will return |
|
IsSymlink ( [ path ) : bool |
Checks whether a file is a Unix symbolic link. Will return |
|
IsSymlink ( [ path, string &target ) : bool |
Checks whether a file is a Unix symbolic link.
|
|
MakeReadOnly ( [ path ) : void |
Removes write permissions for everyone on a filesystem object (file or directory).
|
|
MakeWritable ( [ path ) : void |
Sets write permissions for the owner on a filesystem object (file or directory).
|
|
SetExecutable ( [ path, bool executable ) : void |
Marks a file as Unix-executable or not Unix-executable.
|
Method | Description | |
---|---|---|
AreHardlinked ( [ path1, [ path2 ) : bool | ||
CreateHardlink ( [ sourcePath, [ targetPath ) : void | ||
CreateSymlink ( [ sourcePath, [ targetPath ) : void | ||
GetFileSystem ( [ path ) : string | ||
GetXattr ( [ path, [ name ) : byte[] | ||
Rename ( [ source, [ destination ) : void | ||
SetXattr ( [ path, [ name, [ data ) : void |
public static IsExecutable ( [ path ) : bool | ||
path | [ | The file to check for executable rights. |
return | bool |
public static IsRegularFile ( [ path ) : bool | ||
path | [ | |
return | bool |
public static IsSymlink ( [ path ) : bool | ||
path | [ | The path of the file to check. |
return | bool |
public static IsSymlink ( [ path, string &target ) : bool | ||
path | [ | The path of the file to check. |
target | string | Returns the target the symbolic link points to if it exists. |
return | bool |
public static MakeReadOnly ( [ path ) : void | ||
path | [ | The filesystem object (file or directory) to make read-only. |
return | void |
public static MakeWritable ( [ path ) : void | ||
path | [ | The filesystem object (file or directory) to make writeable by the owner. |
return | void |
public static SetExecutable ( [ path, bool executable ) : void | ||
path | [ | The file to mark as executable or not executable. |
executable | bool | |
return | void |