xcp_d.utils.filemanip
Miscellaneous file manipulation functions.
Functions
|
Binarize mask file. |
|
Check if the mask is binary. |
|
Copy or link |
|
Copy or symlink files in |
|
Return a list given either a string or a list. |
|
Manipulate path and name of input filename. |
|
Return a list of related files, as defined in |
|
Compute hash of a file using 'crypto' module. |
|
Compute md5 hash of the timestamp of a file. |
|
Check whether a file path is on a CIFS filesystem mounted in a POSIX host. |
|
Return a relative version of a path. |
|
Split a filename into parts: path, base filename and extension. |
|
Return the path to an executable which would be run if the given cmd was called. |