Documentation
¶
Overview ¶
Package utils provides reusable utilities independent of compactfs storage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileBytes ¶ added in v1.0.2
FileBytes copies size read-only bytes at offset zero without changing the file's seek offset. Linux may borrow mapped bytes; callers must keep the source inode immutable and release the returned view exactly once.
func LockState ¶ added in v1.0.3
LockState requires a platform with advisory process-shared file locking.
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
func (*Pool) SubmitContext ¶
SubmitContext cancels queue admission without canceling jobs already owned by the pool. Local writeback must be able to cancel capacity backpressure.