# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
DependencyModulePinsForBucket reads the module dependencies from the lock file in the bucket.
IsCommitModuleReference returns true if the ModuleReference references a commit.
IsCommitReference returns whether the provided reference is a commit.
ModuleDigestB1 returns the b1 digest for the Module.
ModuleDigestB2 returns the b2 digest for the Module.
ModuleIdentityForString returns a new ModuleIdentity for the given string.
ModuleOwnerForString returns a new ModuleOwner for the given string.
ModulePinEqual returns true if a equals b.
ModuleReferenceEqual returns true if a equals b.
ModuleReferenceForString returns a new ModuleReference for the given string.
ModuleToBucket writes the given Module to the WriteBucket.
ModuleToProtoModule converts the Module to a proto Module.
ModuleWithModuleIdentity is used to construct a Module with a ModuleIdentity.
ModuleWithModuleIdentityAndCommit is used to construct a Module with a ModuleIdentity and commit.
ModuleWithTargetPaths returns a new Module that specifies specific file or directory paths to build.
ModuleWithTargetPathsAllowNotExist returns a new Module specified specific file or directory paths to build, but allows the specified paths to not exist.
NewFileInfo returns a new FileInfo.
NewModuleFileSet returns a new ModuleFileSet.
NewModuleForBucket returns a new Module.
NewModuleForProto returns a new Module for the given proto Module.
NewModuleIdentity returns a new ModuleIdentity.
NewModuleOwner returns a new ModuleOwner.
NewModulePin returns a new validated ModulePin.
NewModulePinForProto returns a new ModulePin for the given proto ModulePin.
NewModulePinsForProtos maps the Protobuf equivalent into the internal representation.
NewModuleReference returns a new validated ModuleReference.
NewModuleReferenceForProto returns a new ModuleReference for the given proto ModuleReference.
NewModuleReferencesForProtos maps the Protobuf equivalent into the internal representation.
NewNopModuleReader returns a new ModuleReader that always returns a storage.IsNotExist error.
NewNopModuleResolver returns a new ModuleResolver that always returns a storage.IsNotExist error.
NewProtoModulePinForModulePin returns a new proto ModulePin for the given ModulePin.
NewProtoModulePinsForModulePins maps the given module pins into the protobuf representation.
NewProtoModuleReferenceForModuleReference returns a new proto ModuleReference for the given ModuleReference.
NewProtoModuleReferencesForModuleReferences maps the given module references into the protobuf representation.
PutDependencyModulePinsToBucket writes the module dependencies to the write bucket in the form of a lock file.
SortModulePins sorts the ModulePins.
TargetModuleFilesToBucket writes the target files of the given Module to the WriteBucket.
ValidateBranch verifies the given repository branch is well-formed.
ValidateCommit verifies the given commit is well-formed.
ValidateDigest verifies the given digest's prefix, decodes its base64 representation and checks the length of the encoded bytes.
ValidateModuleFilePath validates that the module file path is not empty.
ValidateModulePinsUniqueByIdentity returns an error if the module pins contain any duplicates.
ValidateModuleReferencesUniqueByIdentity returns an error if the module references contain any duplicates.
ValidateOrganization verifies the given organization name is well-formed.
ValidateOwner verifies the given owner name is well-formed.
ValidateProtoModule verifies the given module is well-formed.
ValidateProtoModulePin verifies the given module pin is well-formed.
ValidateProtoModuleReference verifies the given module reference is well-formed.
ValidateReference validates that the given ModuleReference reference is well-formed.
ValidateRepository verifies the given repository name is well-formed.
ValidateTag verifies the given tag is well-formed.
ValidateUser verifies the given user name is well-formed.
# Constants
DocumentationFilePath defines the path to the documentation file, relative to the root of the module.
MainBranch is the name of the branch created for every repository.
# Interfaces
FileInfo contains module file info.
Module is a Protobuf module.
ModuleFile is a module file.
ModuleFileSet is a Protobuf module file set.
ModuleIdentity is a module identity.
ModuleOwner is a module owner.
ModulePin is a module pin.
ModuleReader reads resolved modules.
ModuleReference is a module reference.
ModuleResolver resolves modules.
Workspace represents a module workspace.
# Type aliases
ModuleOption is used to construct Modules.