MCPcopy Create free account
hub / github.com/LegacyCodeHQ/clarity-cli / FilesystemContentReader

Function FilesystemContentReader

vcs/content_reader.go:10–14  ·  view source on GitHub ↗

FilesystemContentReader returns a ContentReader that reads from the filesystem.

()

Source from the content-addressed store, hash-verified

8
9// FilesystemContentReader returns a ContentReader that reads from the filesystem.
10func FilesystemContentReader() ContentReader {
11 return func(absPath string) ([]byte, error) {
12 return os.ReadFile(absPath)
13 }
14}

Calls

no outgoing calls