mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
fs: move GitFileSystem out of dvc.objects.fs
This is more of a DVC thing than objects.
This commit is contained in:
committed by
skshetry
parent
bf7892012d
commit
120eb09c4d
+4
-1
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user