Home
last modified time | relevance | path

Searched refs:new_dir_object (Results 1 – 1 of 1) sorted by relevance

/external/python/pyfakefs/pyfakefs/
Dfake_filesystem.py2252 new_dir_object = self.resolve(new_dir)
2253 if old_dir_object.st_dev != new_dir_object.st_dev:
2255 if not S_ISDIR(new_dir_object.st_mode):
2259 if new_dir_object.has_parent_object(old_object):
2262 self._do_rename(old_dir_object, old_name, new_dir_object, new_name)
2264 def _do_rename(self, old_dir_object, old_name, new_dir_object, new_name): argument
2268 new_name = new_dir_object._normalized_entryname(new_name)
2269 old_entry = (new_dir_object.get_entry(new_name)
2270 if new_name in new_dir_object.entries else None)
2274 new_dir_object.remove_entry(new_name)
[all …]