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

Function withConvertWindowsPaths

cli/options.go:564–570  ·  view source on GitHub ↗
(options *ProjectOptions)

Source from the content-addressed store, hash-verified

562}
563
564func withConvertWindowsPaths(options *ProjectOptions) func(*loader.Options) {
565 return func(o *loader.Options) {
566 if o.ResolvePaths {
567 o.ConvertWindowsPaths = utils.StringToBool(options.Environment["COMPOSE_CONVERT_WINDOWS_PATHS"])
568 }
569 }
570}
571
572// save listeners from ProjectOptions (compose) to loader.Options
573func withListeners(options *ProjectOptions) func(*loader.Options) {

Callers 1

prepareMethod · 0.85

Calls 1

StringToBoolFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…