zcollection.fs_utils#

File system tools#

Modules Attributes

SEPARATOR

Path separator

Functions

copy_file(source, target, fs_source, fs_target)

Copy a file from one location to another.

copy_files(source, target, fs_source, fs_target)

Copy a list of files from one location to another.

copy_tree(source, target, fs_source, fs_target)

Copy a directory tree from one location to another.

fs_walk(fs, path[, sort])

Return the list of files and directories in a directory.

get_fs([filesystem])

Return the file system object from the input.

join_path(*args)

Join path elements.

normalize_path(fs, path)

Normalize the path.