mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-27 07:18:28 +01:00
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:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user