tensorflow::Env::DeleteRecursively()

Status tensorflow::Env::DeleteRecursively(const string &dirname, int64 *undeleted_files, int64 *undeleted_dirs)

Deletes the specified directory and all subdirectories and files underneath it. undeleted_files and undeleted_dirs stores the number of files and directories that weren't deleted (unspecified if the return status is not OK). REQUIRES: undeleted_files, undeleted_dirs to be not null. Typical return codes.

OK - dirname exists and we were able to delete everything underneath.

NOT_FOUND - dirname doesn't exist

PERMISSION_DENIED - dirname or some descendant is not writable

UNIMPLEMENTED - Some underlying functions (like Delete) are not implemented

doc_TensorFlow
2016-10-14 18:57:00
Comments
Leave a Comment

Please login to continue.