repo: remove unused find_out_by_relpath (#5323)

This commit is contained in:
Ruslan Kuprieiev
2021-01-25 01:24:32 +02:00
committed by GitHub
parent 3741f730e0
commit 48dbcf9163
-5
View File
@@ -443,11 +443,6 @@ class Repo:
return matched
def find_out_by_relpath(self, relpath):
path = os.path.join(self.root_dir, relpath)
(out,) = self.find_outs_by_path(path)
return out
def is_dvc_internal(self, path):
path_parts = os.path.normpath(path).split(os.path.sep)
return self.DVC_DIR in path_parts