8 lines
333 B
Go
8 lines
333 B
Go
|
|
package agent
|
||
|
|
|
||
|
|
import "os"
|
||
|
|
|
||
|
|
// indirection so the test file doesn't import "os" and "io" directly.
|
||
|
|
// Keeps the test readable; the helpers are trivial.
|
||
|
|
func writeFileRaw(path, content string) error { return os.WriteFile(path, []byte(content), 0o644) }
|
||
|
|
func osMkdirAll(path string) error { return os.MkdirAll(path, 0o755) }
|