# Module: tf.compat.v1.gfile

<br />

Import router for file_io.

## Classes

[`class FastGFile`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/gfile/FastGFile): File I/O wrappers without thread locking.

[`class GFile`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/io/gfile/GFile): File I/O wrappers without thread locking.

[`class Open`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/io/gfile/GFile): File I/O wrappers without thread locking.

## Functions

[`Copy(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/gfile/Copy): Copies data from `src` to `dst`.

[`DeleteRecursively(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/gfile/DeleteRecursively): Deletes everything under dirname recursively.

[`Exists(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/gfile/Exists): Determines whether a path exists or not.

[`Glob(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/gfile/Glob): Returns a list of files that match the given pattern(s).

[`IsDirectory(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/gfile/IsDirectory): Returns whether the path is a directory or not.

[`ListDirectory(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/gfile/ListDirectory): Returns a list of entries contained within a directory.

[`MakeDirs(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/gfile/MakeDirs): Creates a directory and all parent/intermediate directories.

[`MkDir(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/gfile/MkDir): Creates a directory with the name `dirname`.

[`Remove(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/gfile/Remove): Deletes the file located at 'filename'.

[`Rename(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/gfile/Rename): Rename or move a file / directory.

[`Stat(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/gfile/Stat): Returns file statistics for a given path.

[`Walk(...)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/compat/v1/gfile/Walk): Recursive directory tree generator for directories.