MCPcopy Index your code
hub / github.com/containerd/containerd / TestLogFileFailOnRelativePath

Function TestLogFileFailOnRelativePath

pkg/cio/io_test.go:79–82  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

77}
78
79func TestLogFileFailOnRelativePath(t *testing.T) {
80 _, err := LogFile("./file.txt")("!")
81 assert.Error(t, err, "absolute path needed")
82}
83
84type LogURIGeneratorTestCase struct {
85 // Arbitrary scheme string (e.g. "binary")

Callers

nothing calls this directly

Calls 2

LogFileFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…