예제 #1
0
 def make_trashed_file(self, path):
     from .files import write_file
     write_file('%s/info/foo.trashinfo' % self.path, a_trashinfo(path))
     write_file('%s/files/foo' % self.path)
예제 #2
0
 def add_trashinfo(self, escaped_path_entry, formatted_deletion_date):
     self.having_file(a_trashinfo(escaped_path_entry, formatted_deletion_date))
예제 #3
0
 def make_trashed_file(self, path):
     from .files import write_file
     write_file('%s/info/foo.trashinfo' % self.path, a_trashinfo(path))
     write_file('%s/files/foo' % self.path)
예제 #4
0
 def add_trashinfo(self, escaped_path_entry, formatted_deletion_date):
     self.having_file(a_trashinfo(escaped_path_entry, formatted_deletion_date))