Status tensorflow::Env::IsDirectory(const string &fname)
Returns whether the given path is a directory or not. Typical return codes (not guaranteed exhaustive):
OK - The path exists and is a directory.
FAILED_PRECONDITION - The path exists and is not a directory.
NOT_FOUND - The path entry does not exist.
PERMISSION_DENIED - Insufficient permissions.
UNIMPLEMENTED - The file factory doesn't support directories.
Please login to continue.