package
0.0.2
Repository: https://github.com/alis-exchange/buf.git
Documentation: pkg.go.dev

# Functions

NewFileInfo returns a new FileInfo for testing.
NewTestModuleReader returns a new ModuleReader that will return the mapped module for any ModulePin that has the IdentityString matching the key.
WriteTestLockFileToBucket write a test buf.lock to the given bucket with the given IdentityStrings.

# Constants

TestDigest is a valid digest.
TestDigestB3WithConfiguration is a valid digest.
This matches TestDataWithConfigurationAndFallbackDocumentationPath.
TestDigestB3WithLicense is a valid digest.
TestDigestWithDocumentation is a valid test digest.
TestModuleConfiguration is a configuration file with an arbitrary module name, and example lint and breaking configuration that covers every key.
TestModuleDocumentation is a markdown module documentation file.
TestModuleDocumentationPath is the default path for module documentation file.
TestModuleFallbackDocumentationPath is a fallback path for module documentation file.
TestModuleLicense is a txt module license file.
TestModuleReferenceFooBarV1String is a valid module reference string.
TestModuleReferenceFooBarV2String is a valid module reference string.
TestModuleReferenceFooBazV1String is a valid module reference string.
TestModuleReferenceFooBazV2String is a valid module reference string.

# Variables

TestCommit is a valid commit.
TestData is the data that maps to TestDigest with TestModuleReferenceString.
TestDataProto is the proto representation of TestData.
TestDataWithConfiguration is the data that maps to TestDigestWithConfiguration.
TestDataWithConfigurationAndFallbackDocumentationPath is the data that maps to TestDigestB3WithConfigurationAndFallbackDocumentation.
TestDataWithDocumentation is the data that maps to TestDigestB3WithConfiguration.
TestDataWithDocumentationProto is the proto representation of TestDataWithDocumentation.
TestDataWithFallbackDocumentationPath is the data that maps to TestDigestWithDocumentation.
TestDataWithLicense is the data that maps to TestDigestB3WithLicense.
TestFile1Path is the path of file1.proto.
TestFile2Path is the path of file2.proto.
TestModuleReferenceFooBarCommitString is a valid module reference string.
TestModuleReferenceFooBazCommitString is a valid module reference string.