Abstract Filesystem class.
Methods
copy
View source
@staticmethod
copy(
src: tfx.dsl.io.fileio.PathType
,
dst: tfx.dsl.io.fileio.PathType
,
overwrite: bool = False
) -> None
exists
View source
@staticmethod
exists(
path: tfx.dsl.io.fileio.PathType
) -> bool
glob
View source
@staticmethod
glob(
pattern: tfx.dsl.io.fileio.PathType
) -> List[PathType]
isdir
View source
@staticmethod
isdir(
path: tfx.dsl.io.fileio.PathType
) -> bool
listdir
View source
@staticmethod
listdir(
path: tfx.dsl.io.fileio.PathType
) -> List[PathType]
makedirs
View source
@staticmethod
makedirs(
path: tfx.dsl.io.fileio.PathType
) -> None
mkdir
View source
@staticmethod
mkdir(
path: tfx.dsl.io.fileio.PathType
) -> None
open
View source
@staticmethod
open(
name: tfx.dsl.io.fileio.PathType
,
mode: Text = 'r'
) -> Any
remove
View source
@staticmethod
remove(
path: tfx.dsl.io.fileio.PathType
) -> None
rename
View source
@staticmethod
rename(
src: tfx.dsl.io.fileio.PathType
,
dst: tfx.dsl.io.fileio.PathType
,
overwrite: bool = False
) -> None
rmtree
View source
@staticmethod
rmtree(
path: tfx.dsl.io.fileio.PathType
) -> None
stat
View source
@staticmethod
stat(
path: tfx.dsl.io.fileio.PathType
) -> Any
walk
View source
@staticmethod
walk(
top: tfx.dsl.io.fileio.PathType
,
topdown: bool = True,
onerror: Callable[..., None] = None
) -> Iterable[Tuple[PathType, List[PathType], List[PathType]]]
Class Variables |
SUPPORTED_SCHEMES
|
[]
|