MCPcopy Create free account
hub / github.com/djherbis/buffer / filePool

Struct filePool

pool.go:78–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78type filePool struct {
79 N int64
80 Directory string
81}
82
83// NewFilePool returns a Pool, Get() returns a file-based buffer of max size N.
84// Put() closes and deletes the underlying file for the buffer.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected