MCPcopy Create free account
hub / github.com/One-com/gone / FileTest

FuncType FileTest

sd/filetests.go:22–22  ·  view source on GitHub ↗

* * Providing tests like * https://www.freedesktop.org/software/systemd/man/sd_is_socket.html * */ FileTest is a function returning whether an *os.File fulfills certain criteria. You can write these your self - and should, if the provided ones don't cover your requirements fully.

func(*os.File) (bool, error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected