Google I/O returns May 18-20! Reserve space and build your schedule Register now

tf.io.gfile.stat

TensorFlow 1 version View source on GitHub

Returns file statistics for a given path.

path string, path to a file

FileStatistics struct that contains information about the path

errors.OpError If the operation fails.