MCPcopy Create free account
hub / github.com/compose-spec/compose-go / WithResolvedPaths

Function WithResolvedPaths

cli/options.go:340–347  ·  view source on GitHub ↗

WithResolvedPaths set ProjectOptions to enable paths resolution

(resolve bool)

Source from the content-addressed store, hash-verified

338
339// WithResolvedPaths set ProjectOptions to enable paths resolution
340func WithResolvedPaths(resolve bool) ProjectOptionsFn {
341 return func(o *ProjectOptions) error {
342 o.loadOptions = append(o.loadOptions, func(options *loader.Options) {
343 options.ResolvePaths = resolve
344 })
345 return nil
346 }
347}
348
349// WithResourceLoader register support for ResourceLoader to manage remote resources
350func WithResourceLoader(r loader.ResourceLoader) ProjectOptionsFn {

Callers 2

mainFunction · 0.92
TestConvertWithEnvVarFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestConvertWithEnvVarFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…