fs: move GitFileSystem out of dvc.objects.fs

This is more of a DVC thing than objects.
This commit is contained in:
Saugat Pachhai (सौगात)
2022-05-17 16:50:33 +05:45
committed by skshetry
parent bf7892012d
commit 120eb09c4d
3 changed files with 5 additions and 3 deletions
+4 -1
View File
@@ -4,7 +4,6 @@ from dvc.objects.fs import ( # noqa: F401
FS_MAP,
AzureFileSystem,
GDriveFileSystem,
GitFileSystem,
GSFileSystem,
HDFSFileSystem,
HTTPFileSystem,
@@ -37,4 +36,8 @@ from dvc.objects.fs.implementations.ssh import ( # noqa: F401
)
from dvc.objects.fs.path import Path # noqa: F401
from .data import DataFileSystem # noqa: F401
from .dvc import DvcFileSystem # noqa: F401
from .git import GitFileSystem # noqa: F401
# pylint: enable=unused-import
@@ -3,7 +3,7 @@ from typing import TYPE_CHECKING, Any
from funcy import cached_property, wrap_prop
from ..base import FileSystem
from . import FileSystem
if TYPE_CHECKING:
from scmrepo.fs import GitFileSystem as FsspecGitFileSystem
-1
View File
@@ -5,7 +5,6 @@ from dvc.scheme import Schemes
from . import generic # noqa: F401
from .implementations.azure import AzureFileSystem
from .implementations.gdrive import GDriveFileSystem
from .implementations.git import GitFileSystem # noqa: F401
from .implementations.gs import GSFileSystem
from .implementations.hdfs import HDFSFileSystem
from .implementations.http import HTTPFileSystem