The Autopackage API |
Table of Contents / Public library / Filesystem |
Miscellaneous filesystem-related functions.
resolveLink | SYMLINK |
removeDir | DIRECTORY |
resolveLink | ||||
Syntax: resolveLink SYMLINK | ||||
Recursively resolve symbolic links. | ||||
| ||||
Example:touch foo ln -s foo sym1 ln -s sym1 sym2 resolveLink sym2 # => foo |
removeDir | ||||
Syntax: removeDir DIRECTORY | ||||
Recursively check if DIRECTORY is empty, and remove it if it is. See also: dirIsEmpty | ||||
|