def _tree_to_fs_path(root_path, tree_path):
 assert isinstance(tree_path, bytes)
 if (os_sep_bytes != '/'):
  sep_corrected_path = tree_path.replace('/', os_sep_bytes)
 else:
  sep_corrected_path = tree_path
 return os.path.join(root_path, sep_corrected_path)

def _tree_to_fs_path ( root_path , tree_path ) : assert isinstance ( tree_path , bytes ) if ( os_sep_bytes != '/' ) : sep_corrected_path = tree_path . replace ( '/' , os_sep_bytes ) else : sep_corrected_path = tree_path return os . path . join ( root_path , sep_corrected_path )
convert a git tree path to a file system path .