Documentation
¶
Overview ¶
Package files validates static file declarations shared by Flow extensions. It does not retain bytes, open providers, or implement runtime storage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCompilerMeta ¶
ValidateCompilerMeta checks a compiler metadata Files map while preserving the typed xfile.Ref contract; malformed or string-valued maps are rejected.
func ValidateMap ¶
ValidateMap validates the typed Files-map contract. The map is inspected only; callers keep ownership and no runtime file state is created.
func ValidatePath ¶
ValidatePath accepts one canonical slash-separated path below a declared fs.FS/root. It rejects absolute paths, traversal, empty components, and platform-specific separators so the same reference is safe on every OS.
Types ¶
This section is empty.