MCPcopy Index your code
hub / github.com/php/frankenphp / relativeDir

Function relativeDir

internal/watcher/pattern_test.go:358–365  ·  view source on GitHub ↗
(t *testing.T, relativePath string)

Source from the content-addressed store, hash-verified

356}
357
358func relativeDir(t *testing.T, relativePath string) string {
359 t.Helper()
360
361 dir, err := filepath.Abs("./" + relativePath)
362 assert.NoError(t, err)
363
364 return dir
365}
366
367func hasDir(t *testing.T, p string, dir string) {
368 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected