MCPcopy Index your code
hub / github.com/cli/cli / mustParseAbsolute

Function mustParseAbsolute

internal/safepaths/absolute_test.go:113–119  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

111}
112
113func mustParseAbsolute(s string) safepaths.Absolute {
114 t, err := safepaths.ParseAbsolute(s)
115 if err != nil {
116 panic(err)
117 }
118 return t
119}
120
121func rootDir() string {
122 // Get the current working directory

Callers 2

TestJoinFunction · 0.85

Calls 1

ParseAbsoluteFunction · 0.92

Tested by

no test coverage detected