« Previous | Next » 

Revision 71eca7c3

ID71eca7c3955e096fc85f8e75a959358d56f0ab5a
Parent 257f4c0a
Child 087b34fe

Added by Iustin Pop almost 15 years ago

Do not walk the whole DATA_DIR on node leave

Since we remove only files from DATA_DIR and not from subdirectories,
let's not walk the entire tree, a simple listdir suffices. Also switch
to utils.RemoveFile from simple os.unlink.

Reviewed-by: imsnah

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences