Expand description
Indexing of packages in a output folder to create up to date repodata.json files
Modules§
- cache
- Cache for
PackageRecordsto optimize retry attempts during concurrent indexing.
Structs§
- Index
FsConfig - Configuration for
index_fs - Index
S3Config - Configuration for
index_s3 - Index
Stats - Statistics for the entire indexing operation
- Repodata
File Metadata - Metadata for a single repodata file, used to detect concurrent modifications.
- Repodata
Metadata Collection - Collection of metadata for all critical repodata files that need concurrent access protection.
- Subdir
Index Stats - Statistics for a single subdir indexing operation
Enums§
- Precondition
Checks - Configuration for precondition checks during file operations.
Functions§
- index
- Create a new
repodata.jsonfor all packages in the given operator’s root. - index_
fs - Create a new
repodata.jsonfor all packages in the channel at the given directory. - index_
s3 - Create a new
repodata.jsonfor all packages in the channel at the given S3 URL. - package_
record_ from_ conda - Extract the package record from a
.condapackage file. This function will look for theinfo/index.jsonfile in the conda package and extract the package record from it. - package_
record_ from_ conda_ reader - Extract the package record from a
.condapackage file content. This function will look for theinfo/index.jsonfile in the conda package and extract the package record from it. - package_
record_ from_ index_ json - Extract the package record from an
index.jsonfile. - package_
record_ from_ tar_ bz2 - Extract the package record from a
.tar.bz2package file. This function will look for theinfo/index.jsonfile in the conda package and extract the package record from it. - package_
record_ from_ tar_ bz2_ reader - Extract the package record from a
.tar.bz2package file. This function will look for theinfo/index.jsonfile in the conda package and extract the package record from it. - write_
repodata - Write a
repodata.jsonfor all packages in the given configurator’s root. Uses conditional writes based on the provided metadata to prevent concurrent modification issues. - write_
retry_ policy - Returns a retry policy optimized for write operations with potential lock contention.