MCPcopy Create free account
hub / github.com/bufbuild/buf / IsLocal

Method IsLocal

private/bufpkg/bufmodule/module.go:164–164  ·  view source on GitHub ↗

IsLocal return true if the Module is a local Module. Modules are either local or remote. A local Module is one which was built from sources from the "local context", such a Workspace containing Modules, or a ModuleNode in a CreateCommitRequest. Local Modules are important for understanding what Mo

()

Source from the content-addressed store, hash-verified

162 //
163 // Remote Modules will always have FullNames.
164 IsLocal() bool
165
166 // V1Beta1OrV1BufYAMLObjectData returns the original source buf.yaml associated with this Module, if the
167 // Module was backed with a v1beta1 or v1 buf.yaml.

Implementers 1

moduleprivate/bufpkg/bufmodule/module.go

Calls

no outgoing calls

Tested by

no test coverage detected