MCPcopy
hub / github.com/SurgeDM/Surge / isExplicitOutputPath

Function isExplicitOutputPath

cmd/root.go:324–326  ·  view source on GitHub ↗
(outPath, defaultDir string)

Source from the content-addressed store, hash-verified

322}
323
324func isExplicitOutputPath(outPath, defaultDir string) bool {
325 return utils.EnsureAbsPath(strings.TrimSpace(outPath)) != utils.EnsureAbsPath(strings.TrimSpace(defaultDir))
326}
327
328type rootRunOptions struct {
329 portFlag int

Callers 2

processDownloadsFunction · 0.85
TestIsExplicitOutputPathFunction · 0.85

Calls 1

EnsureAbsPathFunction · 0.92

Tested by 1

TestIsExplicitOutputPathFunction · 0.68