# Functions
An AbsRefFilterFunc creates a RefFilter that selects only those refs for which the func returns true.
BuildIndexes builds all indexes on store and its lower-level stores that match the specified criteria.
ByCommitIDs creates a new filter by commit IDs.
ByDefKey returns a filter by a def key.
ByDefPath returns a filter by def path.
ByDefQuery returns a filter by def query.
ByFiles returns a filter that selects objects that are defined in or contain any of the listed files.
ByRefDef returns a filter by ref target def.
ByRepoCommitIDs creates a new filter by a set of repository versions.
ByRepos creates a new filter by a set of repositories.
ByUnitKey returns a filter by a source unit key.
ByUnits creates a new filter that matches objects in any of the given source units.
Indexes returns a list of indexes and their statuses for store and its lower-level stores.
Limit is an EXPERIMENTAL filter for limiting the number of results.
LimitRemaining returns how many more results may be added before the limit is exceeded (specified by the Limit filter, for example).
NewFSMultiRepoStore creates a new repository store (that can be imported into) that is backed by files on a filesystem.
NewFSRepoStore creates a new repository store (that can be imported into) that is backed by files on a filesystem.
# Constants
SrclibStoreDir is the name of the directory under which a RepoStore's data is stored.
# Variables
Codec is the codec used by all file-backed stores.
DefaultRepoPaths is the default repo path configuration for FS-backed multi-repo stores.
No description provided by the author
NoSourceUnit can be used as a value for IndexCriteria.Unit to indicate that source unit indexes should not be selected.
# Structs
No description provided by the author
No description provided by the author
FSMultiRepoStoreConf configures an FS-backed multi-repo store.
IndexCriteria restricts a set of indexes to only those that match the criteria.
IndexStatus describes an index and its status (whether it exists, etc.).
No description provided by the author
No description provided by the author
No description provided by the author
A RepoStoreImporter implements both RepoStore and RepoImporter.
No description provided by the author
No description provided by the author
No description provided by the author
A Version represents a revision (i.e., commit) of a repository.
A VersionKey is a unique identifier for a version across all repositories.
# Interfaces
ByCommitIDsFilter is implemented by filters that restrict their selection to items at specific commit IDs.
ByDefPathFilter is implemented by filters that restrict their selection to defs with a specific def path.
ByDefQueryFilter is implemented by filters that restrict their selection to defs whose names match the query.
ByFilesFilter is implemented by filters that restrict their selection to defs, refs, etc., that exist in any file in a set, or source units that contain any of the files in the set.
ByRefDefFilter is implemented by filters that restrict their selection to refs with a specific target definition.
ByRepoCommitIDsFilter is implemented by filters that restrict their selections to items in a set of repositories (and in each repository, to a specific version).
ByReposFilter is implemented by filters that restrict their selections to items in a set of repository.
ByUnitsFilter is implemented by filters that restrict their selections to items that are in a set of source units.
A DefFilter filters a set of defs to only those for which SelectDef returns true.
No description provided by the author
An Index enables efficient store queries using filters that the index covers.
A MultiRepoImporter imports srclib build data for a repository's source unit at a specific version into a RepoStore.
No description provided by the author
MultiRepoStore provides access to RepoStores for multiple repositories.
A MultiRepoStoreImporter implements both MultiRepoStore and MultiRepoImporter.
A MultiRepoStoreImporterIndexer implements all 3 interfaces.
A RefFilter filters a set of refs to only those for which SelectRef returns true.
A RepoFilter filters a set of repos to only those for which SelectRepo returns true.
A RepoImporter imports srclib build data for a source unit at a specific version into a RepoStore.
No description provided by the author
RepoPaths specifies how to generate and list repos in a multi-repo store.
A RepoStore stores and accesses srclib build data for a repository (consisting of any number of commits, each of which have any number of source units).
A RepoStoreImporter implements both RepoStore and RepoImporter.
A TreeImporter imports srclib build data for a source unit into a TreeStore.
No description provided by the author
A TreeStore stores and accesses srclib build data for an arbitrary source tree (consisting of any number of source units).
A TreeStoreImporter implements both TreeStore and TreeImporter.
A UnitFilter filters a set of units to only those for which Select returns true.
A UnitImporter imports srclib build data for a single source unit into a UnitStore.
A UnitStore stores and accesses srclib build data for a single source unit.
A UnitStoreImporter implements both UnitStore and UnitImporter.
A VersionFilter filters a set of versions to only those for which SelectVersion returns true.
# Type aliases
A DefFilterFunc is a DefFilter that selects only those defs for which the func returns true.
DefFilters wraps a list of individual def filters and has a SelectDef method that returns true iff all individual def filters select the def.
A RefFilterFunc is a RefFilter that selects only those refs for which the func returns true.
A RepoFilterFunc is a RepoFilter that selects only those repos for which the func returns true.
A UnitFilterFunc is a UnitFilter that selects only those units for which the func returns true.
A VersionFilterFunc is a VersionFilter that selects only those versions for which the func returns true.