hpcflow.sdk.core.types.AbstractFileSystem#
- class hpcflow.sdk.core.types.AbstractFileSystem(*args, **kwargs)#
Bases:
ProtocolType constraints for an abstract file system.
Methods
Test if a path points to a file or directory that exists.
List files in a directory that match a pattern.
Rename a file or directory.
Delete a file or directory.
- exists(path)#
Test if a path points to a file or directory that exists.
- glob(pattern)#
List files in a directory that match a pattern.
- rename(from_, to, *, recursive=False)#
Rename a file or directory.