-
Notifications
You must be signed in to change notification settings - Fork 1
/
__init__.py
54 lines (44 loc) · 1.36 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
from augpathlib.meta import PathMeta
from augpathlib.core import (AugmentedPath,
AugmentedPathPosix,
AugmentedPathWindows,
XopenPath,
LocalPath,
EatPath)
from augpathlib.caches import (CachePath,
PrimaryCache,
SqliteCache,
SymlinkCache,
EatCache,
SshCache)
from augpathlib.remotes import RemotePath
from augpathlib.utils import StatResult, FileSize, etag
from augpathlib.zip import ZipHelper, ZipPath
try:
from augpathlib.repo import RepoHelper, RepoPath
except ImportError as e:
class RepoHelper:
def __init__(self, *args, __error=e, **kwargs):
raise ImportError(f'{self.__class__.__name__} could not be imported '
'due to a previous ImportError') from __error
class RepoPath(RepoHelper):
pass
__all__ = [
'StatResult',
'FileSize',
'etag',
'PathMeta',
'AugmentedPath',
'XattrPath',
'RepoPath',
'XopenPath',
'LocalPath',
'CachePath',
'PrimaryCache',
'SqliteCache',
'SymlinkCache',
'XattrCache',
'SshCache',
'RemotePath',
]
__version__ = '0.0.20'