package
Version:
v0.8.18
Opens a new window with list of versions in this module.
Published: Oct 23, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package cache provides parsed FSE DSLs on Open and Stat from a filesystem
Cache stores file based DSLs cached by Stat information and indexed on filename
New creates a new Cache with os.Open and os.Stat
NewWith creates a new Cache with custom Open and Stat functions
Workflow returns a parsed Workflow which is the same until the unterlying file has a different ModTime
Workflows makes a snapshot of all cached workflow definitions sorted by filename
type ModTimer interface {
ModTime() time.Time
}
ModTimer has a ModTime function like the result of os.Stat
OpenFunc is a simpler os.Open
StatFunc is a simpler os.Stat where only ModTime() is required
Source Files
¶
Click to show internal directories.
Click to hide internal directories.