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

Struct inputConfig

private/bufpkg/bufconfig/input_config.go:339–355  ·  view source on GitHub ↗

*** PRIVATE ***

Source from the content-addressed store, hash-verified

337// *** PRIVATE ***
338
339type inputConfig struct {
340 inputConfigType InputConfigType
341 location string
342 compression string
343 stripComponents uint32
344 subDir string
345 branch string
346 commitOrTag string
347 ref string
348 depth *uint32
349 recurseSubmodules bool
350 includePackageFiles bool
351 includeTypes []string
352 excludeTypes []string
353 targetPaths []string
354 excludePaths []string
355}
356
357func newInputConfigFromExternalV2(externalConfig externalInputConfigV2) (InputConfig, error) {
358 // We only allow one of these to be set.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected