MCPcopy Create free account
hub / github.com/rsc/tmp / DevNull

Function DevNull

mpt/tree_test.go:280–282  ·  view source on GitHub ↗

DevNull returns a file like the Unix /dev/null: it can be written but is always empty. Passing two DevNull files to New creates a Mem with no on-disk backing.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

newDiskTreeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…