fs: make constructor closer to fsspec (#5911)

* fs: don't use repo for jobs/hash_jobs

* fs: local: exists: use fsspec's LocalFileSystem

* fs: make constructor comply with fsspec
This commit is contained in:
Ruslan Kuprieiev
2021-05-12 22:03:09 +03:00
committed by GitHub
parent 0ca08d2fea
commit 89b40afee7
62 changed files with 321 additions and 276 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ class GitFileSystem(BaseFileSystem): # pylint:disable=abstract-method
scheme = "local"
def __init__(self, root_dir, trie):
super().__init__(None, {})
super().__init__()
self._fs_root = root_dir
self.trie = trie