Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Snapshot ¶
Snapshot records the filesystem metadata used to detect staleness.
func FromFile ¶
FromFile captures held-file metadata without moving the reader or trusting unavailable change tokens.
func FromInfo ¶
FromInfo captures supplied metadata, fingerprinting content only when the OS lacks a reliable change token.
func FromPath ¶
FromPath captures current file metadata and a content fingerprint when OS change metadata is unavailable.
func Uncacheable ¶
func Uncacheable() Snapshot
Uncacheable forces a fresh scan when an entry could not be inspected.
Click to show internal directories.
Click to hide internal directories.