Crate rattler_index

Source
Expand description

Indexing of packages in a output folder to create up to date repodata.json files

Structs§

IndexFsConfig
Configuration for index_fs
IndexS3Config
Configuration for index_s3

Functions§

index
Create a new repodata.json for all packages in the given configurator’s root. If target_platform is Some, only that specific subdir is indexed. Otherwise indexes all subdirs and creates a repodata.json for each.
index_fs
Create a new repodata.json for all packages in the channel at the given directory.
index_s3
Create a new repodata.json for all packages in the channel at the given S3 URL.
package_record_from_conda
Extract the package record from a .conda package file. This function will look for the info/index.json file in the conda package and extract the package record from it.
package_record_from_conda_reader
Extract the package record from a .conda package file content. This function will look for the info/index.json file in the conda package and extract the package record from it.
package_record_from_index_json
Extract the package record from an index.json file.
package_record_from_tar_bz2
Extract the package record from a .tar.bz2 package file. This function will look for the info/index.json file in the conda package and extract the package record from it.
package_record_from_tar_bz2_reader
Extract the package record from a .tar.bz2 package file. This function will look for the info/index.json file in the conda package and extract the package record from it.
write_repodata
Write a repodata.json for all packages in the given configurator’s root.