package metadb
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Metadb.SystemSource
This is a wrapper for the standard Sys library.
Try to open file with the system default program. This will try the unix command xdg-open followed by open upon failure. Raises OSError if both fail
Get files recursively in a directory. Optional hidden argument is false if hidden files should be ignored, which is the default behavior. Raises NotADirectory if path is not a directory. Raises Sys.Sys_error if no such directory exists
Recursively remove directory. Raises NotADirectory if path is not a directory. Raises Sys.Sys_error if no such directory exists
Remove a file. Raises Sys.Sys_error if file is a directory or does not exist
Recursively create directories but ignore the leaf. For example, make_dirp "/path/to/file.txt" creates the directories "/path" and "/path/to" if they do not exist.
This is a wrapper for the fileutils library move command
Returns true if directory is empty. Raises NotADirectory if path is not a directory and Sys.Sys_error if directory does not exist.
Returns value of environment variable