Home
last modified time | relevance | path

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

/development/gsi/gsi_util/gsi_util/mounters/
Dimage_mounter.py43 def __init__(self, path_prefix, raw_image_file, temp_dir): argument
44 super(_ImageFileAccessor, self).__init__(path_prefix)
70 def __init__(self, image_filename, path_prefix): argument
73 self._path_prefix = path_prefix
111 path_prefix = self._path_prefix
112 if path_prefix == self.DETECT_SYSTEM_AS_ROOT:
113 path_prefix = '/' if self._detect_system_as_root(
124 return _ImageFileAccessor(path_prefix, unsparsed_filename, temp_dir)
Dfolder_mounter.py30 def __init__(self, folder_dir, path_prefix): argument
31 super(_FolderFileAccessor, self).__init__(path_prefix)
48 def __init__(self, folder_dir, path_prefix): argument
51 self._path_prefix = path_prefix
Dcomposite_mounter.py66 path_prefix = '/{}/'.format(partition)
69 return folder_mounter.FolderMounter(mount_target, path_prefix)
73 path_prefix = image_mounter.ImageMounter.DETECT_SYSTEM_AS_ROOT
74 return image_mounter.ImageMounter(mount_target, path_prefix)
111 file_accessors = [(path_prefix, mounter.mount())
112 for (path_prefix, mounter) in self._mounters]
Dbase_mounter.py85 def __init__(self, path_prefix='/'): argument
86 logging.debug('BaseFileAccessor(path_prefix=%s)', path_prefix)
87 self._path_prefix = path_prefix
90 path_prefix = self._path_prefix
92 if not file_to_map.startswith(path_prefix):
94 path_prefix)
96 return file_to_map[len(path_prefix):]