441
478
relpath = self._share_relative_path(share_id, path)
442
479
newobj = dict(path=relpath, node_id=None, share_id=share_id,
443
480
is_dir=is_dir, local_hash="", server_hash="",
445
482
newobj["info"] = dict(created=time.time(), is_partial=False)
446
483
# only one stat, (instead of os.path.exists & os.stat)
447
484
newobj["stat"] = get_stat(path)