Module: tfx.v1.dsl.io.fileio
Stay organized with collections
Save and categorize content based on your preferences.
TFX DSL file I/O module.
Classes
class NotFoundError
: Base class for I/O related errors.
Functions
copy(...)
: Copy a file from the source to the destination.
exists(...)
: Return whether a path exists.
glob(...)
: Return the paths that match a glob pattern.
isdir(...)
: Return whether a path is a directory.
listdir(...)
: Return the list of files in a directory.
makedirs(...)
: Make a directory at the given path, recursively creating parents.
mkdir(...)
: Make a directory at the given path; parent directory must exist.
open(...)
: Open a file at the given path.
remove(...)
: Remove the file at the given path.
rename(...)
: Rename a source file to a destination path.
rmtree(...)
: Remove the given directory and its recursive contents.
stat(...)
: Return the stat descriptor for a given file path.
walk(...)
: Return an iterator walking a directory tree.
Type Aliases
PathType
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-17 UTC."],[],[]]