MCPcopy Create free account

hub / github.com/NixIPFS/nixipfs-scripts / functions

Functions59 in github.com/NixIPFS/nixipfs-scripts

↓ 7 callersFunctionnix_hash
(path, hash_type="sha256", base="base32")
nixipfs/src/nix_helpers.py:22
↓ 6 callersFunctionccd
(path)
nixipfs/src/utils.py:10
↓ 6 callersMethoddownload_file
(self, jobname, dest_dir, dest_name='', tmp_dir=os.getcwd())
nixipfs/src/karkinos.py:39
↓ 4 callersFunctionfetch_json
(url)
nixipfs/src/download_helpers.py:21
↓ 4 callersMethodstart
(self, store_paths)
nixipfs/src/download_helpers.py:96
↓ 3 callersFunctionfiles_flush
(api, path, **kwargs)
nixipfs/src/create_nixipfs.py:17
↓ 3 callersFunctionnar_info_from_path
(path)
nixipfs/src/nix_helpers.py:14
↓ 2 callersFunctionadd_binary_cache
(api, local_dir, mfs_dir, hash_cache)
nixipfs/src/create_nixipfs.py:21
↓ 2 callersFunctionadd_nixos_release
(api, local_dir, mfs_dir, hash_cache)
nixipfs/src/create_nixipfs.py:73
↓ 2 callersMethodadd_work
(self, work)
nixipfs/src/download_helpers.py:103
↓ 2 callersFunctionappend_failed_entry
(entry)
nixipfs/src/mirror_tarballs.py:124
↓ 2 callersFunctioncheck_presence
(target_dir, value)
nixipfs/src/mirror_tarballs.py:47
↓ 2 callersFunctiondownload_file_from_cache
(path, dest, binary_cache = DEFAULT_BINARY_CACHE_URL, tries = DEFAULT_DOWNLOAD_TRIES)
nixipfs/src/download_helpers.py:45
↓ 2 callersMethoddump
(self)
nixipfs/src/nix_helpers.py:41
↓ 2 callersFunctionfetch_file_from_cache
(path, binary_cache = DEFAULT_BINARY_CACHE_URL, local_cache = None, force = False, tries = DEFAULT_DOWNLOAD_TR
nixipfs/src/download_helpers.py:26
↓ 2 callersFunctionnix_store_delete
(path)
nixipfs/src/mirror_tarballs.py:148
↓ 2 callersMethodto_string
(self)
nixipfs/src/nix_helpers.py:48
↓ 1 callersMethodbuild_info_url
(self, jobname)
nixipfs/src/karkinos.py:27
↓ 1 callersFunctioncreate_mirror_dirs
(target_dir, revision)
nixipfs/src/mirror_tarballs.py:33
↓ 1 callersMethodfetch_build_info
(self, jobname)
nixipfs/src/karkinos.py:36
↓ 1 callersMethodfetch_eval_info
(self)
nixipfs/src/karkinos.py:30
↓ 1 callersFunctionfetch_release_info
(hydra_url, project, jobset, job)
nixipfs/src/download_helpers.py:58
↓ 1 callersFunctionfetch_store_path
(path, dest_file, binary_cache = DEFAULT_BINARY_CACHE_URL, tmp_dir=os.getcwd())
nixipfs/src/download_helpers.py:62
↓ 1 callersMethodfetch_store_paths
(self)
nixipfs/src/karkinos.py:33
↓ 1 callersFunctionfind_garbage
(cache, releases, keep=[])
nixipfs/src/garbage_collect.py:4
↓ 1 callersMethodgetFiles
Return the files in a store path, using a SQLite database to cache the results. */
generate_programs_index/file-cache.hh:76
↓ 1 callersMethodget_work
(self)
nixipfs/src/download_helpers.py:100
↓ 1 callersFunctionhash_part_in_path
(path)
nixipfs/src/nix_helpers.py:4
↓ 1 callersMethodload
(self, text)
nixipfs/src/nix_helpers.py:35
↓ 1 callersFunctionmainWrapped
generate_programs_index/generate-programs-index.cc:31
↓ 1 callersFunctionmirror_file
(target_dir, path, name, revision)
nixipfs/src/mirror_tarballs.py:58
↓ 1 callersFunctionnix_instantiate_cmd
(expr)
nixipfs/src/mirror_tarballs.py:30
↓ 1 callersFunctionnix_prefetch_url
(url, hashv, git_workdir, hash_type="sha256")
nixipfs/src/mirror_tarballs.py:129
↓ 1 callersMethodturn_in
(self, name, nar_info)
nixipfs/src/download_helpers.py:109
MethodFileCache
generate_programs_index/file-cache.hh:33
Method__init__
(self, message=None, width=16, **kwargs)
nixipfs/src/utils.py:6
Method__init__
(self, info)
nixipfs/src/hydra_helpers.py:2
Method__init__
(self, info)
nixipfs/src/hydra_helpers.py:14
Method__init__
(self, info)
nixipfs/src/hydra_helpers.py:30
Method__init__
(self)
nixipfs/src/download_helpers.py:89
Method__init__
(self, hydra_url, eval_id, binary_cache = DEFAULT_BINARY_CACHE_URL)
nixipfs/src/karkinos.py:13
Method__init__
(self, text = "")
nixipfs/src/nix_helpers.py:30
Functioncreate_channel_release
(channel, hydra, project, jobset, job, cache, outdir, tmpdir, target_cache=None)
nixipfs/src/create_channel_release.py:18
Functioncreate_nixipfs
(local_dir, ipfs_api)
nixipfs/src/create_nixipfs.py:107
Functiondownload_worker
(binary_cache)
nixipfs/src/update_binary_cache.py:14
Functiondownload_worker
(target_dir, revision, git_workdir)
nixipfs/src/mirror_tarballs.py:100
Methodeval_id
(self)
nixipfs/src/hydra_helpers.py:26
Methodeval_url
(self)
nixipfs/src/karkinos.py:20
Functiongarbage_collect
(cache, releases, keep=[])
nixipfs/src/garbage_collect.py:20
Methodgit_rev
(self)
nixipfs/src/hydra_helpers.py:34
Methodid
(self)
nixipfs/src/hydra_helpers.py:18
Functionmain
generate_programs_index/generate-programs-index.cc:217
Functionmirror_tarballs
(target_dir, tmp_dir, git_repo, git_revision, concurrent=DEFAULT_CONCURRENT_DOWNLOADS)
nixipfs/src/mirror_tarballs.py:152
Methodname
(self)
nixipfs/src/hydra_helpers.py:22
Functionnarinfo_worker
(cache, local_cache)
nixipfs/src/update_binary_cache.py:36
Methodpath
(self)
nixipfs/src/hydra_helpers.py:6
Methodsha256
(self)
nixipfs/src/hydra_helpers.py:10
Methodstore_path_url
(self)
nixipfs/src/karkinos.py:24
Functionupdate_binary_cache
(cache, release, outdir, concurrent=DEFAULT_CONCURRENT_DOWNLOADS, print_only=False, cache_info=None)
nixipfs/src/update_binary_cache.py:45