Documentation
¶
Overview ¶
Package workspace provides bounded, read-only repository traversal.
Index ¶
Constants ¶
View Source
const ( MaxFiles = 10_000 MaxSourceSize = 1 << 20 )
Variables ¶
This section is empty.
Functions ¶
func CanonicalRoot ¶
CanonicalRoot resolves root and verifies that it names a directory.
func ManifestSHA256 ¶
ManifestSHA256 binds a deterministic source-file inventory and content.
func ResolveFile ¶
ResolveFile validates a repository-relative regular file and returns its canonical path. It rejects symlinks and root escapes.
func SourceFiles ¶
SourceFiles returns a deterministic repository-relative list of bounded Go and Python source files. Symlinks are never followed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.