/usr/local/lib/python3.6/site-packages/fsspec/implementations/__pycache__
NameSizeModeActions
arrow.cpython-36.pyc73280644editdlrm
cached.cpython-36.pyc230300644editdlrm
dask.cpython-36.pyc46560644editdlrm
dbfs.cpython-36.pyc133510644editdlrm
dvc.cpython-36.pyc26220644editdlrm
ftp.cpython-36.pyc104440644editdlrm
git.cpython-36.pyc37500644editdlrm
github.cpython-36.pyc74040644editdlrm
hdfs.cpython-36.pyc70930644editdlrm
http.cpython-36.pyc207520644editdlrm
jupyter.cpython-36.pyc41310644editdlrm
libarchive.cpython-36.pyc60050644editdlrm
local.cpython-36.pyc119120644editdlrm
memory.cpython-36.pyc66970644editdlrm
reference.cpython-36.pyc161420644editdlrm
sftp.cpython-36.pyc61040644editdlrm
smb.cpython-36.pyc105910644editdlrm
tar.cpython-36.pyc45020644editdlrm
webhdfs.cpython-36.pyc147120644editdlrm
zip.cpython-36.pyc32760644editdlrm
__init__.cpython-36.pyc1560644editdlrm
Edit: /usr/local/lib/python3.6/site-packages/fsspec/implementations/__pycache__/dvc.cpython-36.pyc (2622B)
3 8%Eglã@sBddlZddlZddlmZddlmZeƒZGdd„deƒZdS)éN)ÚLocalFileSystem)ÚAbstractFileSystemcsReZdZdZdZd‡fdd„ Ze‡fdd„ƒZdd d „Zd d „Z ddd„Z ‡Z S)Ú DVCFileSystemzÔDVC backend (experimental) Load data files that are versioned using the `Data Version Control`_ system .. _Data Version Control: https://dvc.org/ This interface is incomplete and experimental. ÚNc s,tƒjf|Žtjj|ƒ|_|jjƒ|_dS)zœ Parameters ---------- path: str (optional) Location of the repo to access; defaults to the current directory. N)ÚsuperÚ__init__ÚdvcÚrepoZRepoZ find_rootÚpath)Úselfr Úkwargs)Ú __class__©úD/usr/local/lib/python3.6/site-packages/fsspec/implementations/dvc.pyrszDVCFileSystem.__init__cstƒj|ƒjdƒS)Nú/)rÚ_strip_protocolÚlstrip)Úclsr )r rrr#szDVCFileSystem._strip_protocolFc sô|jˆƒ‰|jjjtjj|jjˆƒƒ}t|ƒ\}}}‡fdd„||Dƒ}g} xŽ|D]†} tjj|jj| ƒ} t j | ƒ} t j | ƒrŠ| j | ƒnDy|jj | ƒjƒ} Wntjjk r¸wTYnX| j tf| | —Žƒ| | dd<qTW|ræ| Sdd„| DƒS)Ncsg|]}tjjˆ|ƒ‘qSr)Úosr Újoin)Ú.0Úf)r rrú +sz$DVCFileSystem.ls..éÚnamecSsg|] }|d‘qS)rr)rÚdrrrr<séÿÿÿÿ)rr ÚtreeÚwalkrr rÚroot_dirÚnextÚlfsÚinfoÚisdirÚappendZfind_out_by_relpathZdumpdrÚ exceptionsZOutputNotFoundErrorÚdict)r r Zdetailr ÚallfilesÚdirnameÚdirsÚfilesÚoutÚdetailsrÚfullÚ file_infoÚextrar)r rÚls's&     zDVCFileSystem.lscCs|j|ƒdS)NÚmd5)r")r r rrrÚukey>szDVCFileSystem.ukeyÚrbTcKs|j|ƒ}|jj|ƒS)N)rr Zopen_by_relpath)r r ÚmodeÚ block_sizeZ autocommitZ cache_optionsr rrrÚ_openAs zDVCFileSystem._open)N)F)r3NTN) Ú__name__Ú __module__Ú __qualname__Ú__doc__Z root_markerrÚ classmethodrr0r2r6Ú __classcell__rr)r rr s  r) rZdvc.reporZfsspec.implementations.localrZ fsspec.specrr!rrrrrÚs