cloud_fs.filesystems.Local
- class Local(path)[source]
Bases:
cloud_fs.filesystems.BaseFileSystem
Local filesystem utilities
- Parameters
path (str) – File or directory path
Methods
Copy file or recursively copy directory at src to dst
Delete file or files in given directory
Attributes
Available filesystem operations
File path to perform filesystem operation on
- static cp(src, dst, **kwargs)[source]
Copy file or recursively copy directory at src to dst
- Parameters
src (path) – File or directory to copy
dst (path) – Destination to copy file or directory too
- static rm(path, **kwargs)[source]
Delete file or files in given directory
- Parameters
kwargs (dict) – kwargs for shutil.rmtree
- Returns
str
- property operations
Available filesystem operations
- Returns
list
- property path
File path to perform filesystem operation on
- Returns
str