Documentation
¶
Overview ¶
Package safeasset centralizes checks for files that must not be copied into generated public or embedded output.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmbeddableGeneratedOutputFile ¶ added in v0.12.1
EmbeddableGeneratedOutputFile reports whether rel should be copied into a generated app's embedded filesystem. Runtime-private manifests are embedded for generated code but remain non-public in the runtime handler.
func PrivateKeyFile ¶
PrivateKeyFile reports common private key filenames without extension.
func PublicGeneratedOutputFile ¶ added in v0.12.1
PublicGeneratedOutputFile reports whether rel is part of the browser-facing generated-output surface. Unknown files fail closed so compiler-private metadata and user-added files under an output directory are not served or embedded by default.
func UnsafeEmbeddedDirectory ¶
UnsafeEmbeddedDirectory reports whether a directory should be skipped when copying generated output into a generated app.
func UnsafeEmbeddedFile ¶
UnsafeEmbeddedFile reports whether a file must not be embedded or served as generated static output.
Types ¶
This section is empty.