2226
2226
if not path.startswith(prefix):
2228
2228
path = path[len(prefix):]
2229
yield path, 'V', entry.kind, entry
2231
2231
if from_dir is None and include_root is True:
2233
'directory', '', ROOT_PARENT, self.get_root_id())
2234
yield '', 'V', 'directory', root_entry
2235
2235
entries = self._iter_entries_for_dir(from_dir or '')
2236
2236
for path, entry in entries:
2237
yield path, 'V', entry.kind, entry
2239
2239
def kind(self, path, file_id=None):
2240
2240
trans_id = self._path2trans_id(path)