protected function getDeletedPath(LocalRepo $repo, LocalFile $file) { $hash = $repo->getFileSha1($file->getPath()); $key = "{$hash}.{$file->getExtension()}"; return $repo->getDeletedHashPath($key) . $key; }