public void deleteFile ( JimfsPath path , DeleteMode deleteMode ) throws IOException { store . writeLock ( ) . lock ( ) ; try { DirectoryEntry entry = lookUp ( path , Options . NOFOLLOW_LINKS ) . requireExists ( path ) ; delete ( entry , deleteMode , path ) ; } finally { store . writeLock ( ) . unlock ( ) ; } }
Deletes the file at the given absolute path .