Operating system operations.
- Copyright:
-
- Crown Copyright 2016
- License:
-
- Apache-2.0
- Source:
Methods
-
<static> run_parse_unix_perms(input, args)
-
Parse UNIX file permissions operation.
Parameters:
Name Type Description input
string args
Array.<Object> - Source:
Returns:
- Type
- string
-
<private, static> _perms_to_str(perms)
-
Given a permissions object dictionary, generates a textual permissions string.
Parameters:
Name Type Description perms
Object - Source:
Returns:
- Type
- string
-
<private, static> _perms_to_octal(perms)
-
Given a permissions object dictionary, generates an octal permissions string.
Parameters:
Name Type Description perms
Object - Source:
Returns:
- Type
- string
-
<private, static> _ft_from_perms(perms)
-
Given a permissions object dictionary, returns the file type.
Parameters:
Name Type Description perms
Object - Source:
Returns:
- Type
- string