Documentation
¶
Index ¶
- Variables
- type BoundedFsWatcher
- func (inst *BoundedFsWatcher) AddDir(path string) (err error)
- func (inst *BoundedFsWatcher) AddDirRecursive(root fs.FS, ignoreErrors bool, ...) (err error)
- func (inst *BoundedFsWatcher) Close() (err error)
- func (inst *BoundedFsWatcher) GetAndClearEvents(eventsIn []fsnotify.Event) (eventsOut []fsnotify.Event)
- func (inst *BoundedFsWatcher) GetMaxEvents() int
- func (inst *BoundedFsWatcher) IsOpen() bool
- func (inst *BoundedFsWatcher) LastError() (err error)
- func (inst *BoundedFsWatcher) ResetWatches() (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var PackageProps = packageprops.Props{ WASMWASI: packageprops.WASMCompiles, WASMJS: packageprops.WASMCompiles, WASMFreestanding: packageprops.WASMBlocked, }
PackageProps records this package's curated properties (ADR-0080). Seeded by `boxer code analysis golang wasmsurvey props generate`; curate by hand. The same group's `props verify` reconciles it.
Functions ¶
This section is empty.
Types ¶
type BoundedFsWatcher ¶
type BoundedFsWatcher struct {
// contains filtered or unexported fields
}
func NewBoundedFsWatcher ¶
func (*BoundedFsWatcher) AddDir ¶
func (inst *BoundedFsWatcher) AddDir(path string) (err error)
func (*BoundedFsWatcher) AddDirRecursive ¶
func (inst *BoundedFsWatcher) AddDirRecursive(root fs.FS, ignoreErrors bool, predicate func(path string, d fs.DirEntry) (prefixForLog string, add bool)) (err error)
AddDirRecursive uses fs.WalkDir and therefore does not follow symlinks.
func (*BoundedFsWatcher) Close ¶
func (inst *BoundedFsWatcher) Close() (err error)
func (*BoundedFsWatcher) GetAndClearEvents ¶
func (inst *BoundedFsWatcher) GetAndClearEvents(eventsIn []fsnotify.Event) (eventsOut []fsnotify.Event)
func (*BoundedFsWatcher) GetMaxEvents ¶
func (inst *BoundedFsWatcher) GetMaxEvents() int
func (*BoundedFsWatcher) IsOpen ¶
func (inst *BoundedFsWatcher) IsOpen() bool
func (*BoundedFsWatcher) LastError ¶
func (inst *BoundedFsWatcher) LastError() (err error)
func (*BoundedFsWatcher) ResetWatches ¶
func (inst *BoundedFsWatcher) ResetWatches() (err error)
Directories
¶
| Path | Synopsis |
|---|---|
|
Package lading is the fs snapshot store (ADR-0198): a walk of an `fs.FS` is written once as a snapshot into facts-shaped ClickHouse tables the store controls — never updated, never shared, retained by TTL — and read back through a snapshot-pinned `io/fs` adapter or queried as SQL.
|
Package lading is the fs snapshot store (ADR-0198): a walk of an `fs.FS` is written once as a snapshot into facts-shaped ClickHouse tables the store controls — never updated, never shared, retained by TTL — and read back through a snapshot-pinned `io/fs` adapter or queried as SQL. |
|
ladingadapter
Package ladingadapter turns one snapshot of one mount into an `io/fs.FS` (ADR-0198 §SD8).
|
Package ladingadapter turns one snapshot of one mount into an `io/fs.FS` (ADR-0198 §SD8). |
|
ladingingest
Package ladingingest walks an `fs.FS` and writes it into the lading store as one snapshot (ADR-0198 §SD5, §SD6).
|
Package ladingingest walks an `fs.FS` and writes it into the lading store as one snapshot (ADR-0198 §SD5, §SD6). |
|
ladingremote
Package ladingremote presents an SFTP connection as an `io/fs.FS`, and spawns `rclone serve sftp --stdio <remote>` to get one (ADR-0198 §SD9).
|
Package ladingremote presents an SFTP connection as an `io/fs.FS`, and spawns `rclone serve sftp --stdio <remote>` to get one (ADR-0198 §SD9). |
|
ladingschema
Package ladingschema holds what the lading store's three tables are — their names, their leeway shape, their engine clauses and the ALTERs and materialised view that finish them (ADR-0198 §SD2, §SD4).
|
Package ladingschema holds what the lading store's three tables are — their names, their leeway shape, their engine clauses and the ALTERs and materialised view that finish them (ADR-0198 §SD2, §SD4). |
|
ladingsftp
Package ladingsftp serves a lading store over SFTP on a pipe (ADR-0198 §SD9).
|
Package ladingsftp serves a lading store over SFTP on a pipe (ADR-0198 §SD9). |
|
ladingsql
Package ladingsql is the SQL surface of the lading store (ADR-0198 §SD7): two table-function macros that turn a mount id into a readable relation.
|
Package ladingsql is the SQL surface of the lading store (ADR-0198 §SD7): two table-function macros that turn a mount id into a readable relation. |
|
ladingview
Package ladingview is what an interactive host needs around an adapter view (ADR-0200 §SD4): the locking wrapper that lets one render thread and several lanes share the single-goroutine stores (ADR-0100), and the bounded read a preview wants — a file's head, its size and its kind in one call.
|
Package ladingview is what an interactive host needs around an adapter view (ADR-0200 §SD4): the locking wrapper that lets one render thread and several lanes share the single-goroutine stores (ADR-0100), and the bounded read a preview wants — a file's head, its size and its kind in one call. |
|
ladingvocab
Package ladingvocab is the lading store's leeway natural-key vocabulary: the memberships that tag a file-tree row in the store's own facts-shaped tables, and the mount policy record in `boxer.facts` (ADR-0198 §SD2).
|
Package ladingvocab is the lading store's leeway natural-key vocabulary: the memberships that tag a file-tree row in the store's own facts-shaped tables, and the mount policy record in `boxer.facts` (ADR-0198 §SD2). |
Click to show internal directories.
Click to hide internal directories.