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

Function testRel

private/pkg/normalpath/normalpath_windows_test.go:204–208  ·  view source on GitHub ↗
(t *testing.T, expected string, basepath string, targpath string)

Source from the content-addressed store, hash-verified

202}
203
204func testRel(t *testing.T, expected string, basepath string, targpath string) {
205 rel, err := Rel(basepath, targpath)
206 assert.NoError(t, err)
207 assert.Equal(t, expected, rel)
208}
209
210func testRelError(t *testing.T, expected string, basepath string, targpath string) {
211 if os.PathSeparator == '/' {

Callers 1

TestRelFunction · 0.70

Calls 1

RelFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…