Documentation
¶
Overview ¶
Package logger implements a LRU file descriptor cache for concurrent ReadAt calls.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedFile ¶
type CachedFile struct {
// contains filtered or unexported fields
}
A wrapper around *os.File which counts references
func (*CachedFile) Close ¶
func (f *CachedFile) Close() error
Tells the cache that we are done using the file, but it's up to the cache to decide when this file will really be closed. The error, if any, will be lost.
Click to show internal directories.
Click to hide internal directories.