Searched refs:current_path (Results 1 - 2 of 2) sorted by relevance

/pkg/src/modules/client/linkedimage/
H A Dcommon.py625 path=None, current_path=None, update=False):
635 # Either 'path' or 'current_path' must be specified.
636 assert path is None or current_path is None
637 assert path is not None or current_path is not None
640 current_path = path_transform_apply(path,
643 elif current_path is not None:
644 path = path_transform_revert(current_path,
648 props[PROP_CURRENT_PATH] = current_path
670 current_path = self.__root
672 current_path)
1207 def current_path(self): member in class:LinkedImage
[all...]
/pkg/src/modules/client/transport/
H A Dtransport.py3438 def file_done(self, hashval, current_path):
3441 self._update_dlstats(hashval, current_path)
3571 def file_done(self, hashval, current_path):
3577 filesz = os.stat(current_path).st_size
3598 self._final_copy(hashval, current_path)
3601 def _final_copy(self, hashval, current_path):
3602 """Copy the file named by hashval from current_path
3631 src = open(current_path, "rb")

Completed in 18 milliseconds