@staticmethod
  def _store_path_file(path, rev):
    '''
    The store path to file storage for the given file:
    dir1/dir2/filename -> _s/dir1/_s/dir2/_f/filename
    '''
    path = path.strip("/")
    elements = path.split("/")
    filename = elements[-1]
    dirname = "/".join(elements[:-1])
    return ("%s/_f/%s/%s" % (Repo.store_path_dir(dirname), rev, filename)).lstrip("/")
dataset/ETHPy150Open bloomreach/zinc/zinc.py/Repo._store_path_file/original