Discover Packages
github.com/gt-tech-ai/knowledge-engine-toolkit
go
clients
codebase
fs
package
Version:
v0.0.34
Opens a new window with list of versions in this module.
Published: Oct 31, 2026
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package fs is the plain-directory CodebaseSource: every file under a root, except the
`.git` directory, with no version control.
ReadFile reads the repository-relative path p under root through an os.Root; a
missing file is CodeNotFound and a path escaping the root CodeInvalidInput.
Source serves the files under a root directory.
New returns a Source rooted at root. It does no I/O.
Changed returns an empty set: the source has no version control.
List walks root, skipping `.git`, and returns every regular file, sorted.
Read reads one file through an os.Root, so a path can never escape the root; a
missing file is CodeNotFound.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.