snakemake.sourcecache.HostingProviderFile
- class snakemake.sourcecache.HostingProviderFile(repo=None, path=None, tag=None, branch=None, commit=None)[source]
Marker for denoting github source files from releases.
- __init__(repo=None, path=None, tag=None, branch=None, commit=None)[source]
Methods
__init__
([repo, path, tag, branch, commit])get_basedir
()get_cache_path
()get_filename
()get_path_or_uri
()is_persistently_cacheable
()join
(path)mtime
()If possible, return mtime of the file.
simplify_path
()Attributes
is_local
ref
valid_repo