FileScope
@forge/monorepo / backend/src / FileScope
Type Alias: FileScope
FileScope =
object
Defined in: backend/src/toolkit/files.ts:43
Properties
maxBytes?
readonlyoptionalmaxBytes?:number
Defined in: backend/src/toolkit/files.ts:53
maxEntries?
readonlyoptionalmaxEntries?:number
Defined in: backend/src/toolkit/files.ts:54
maxMatches?
readonlyoptionalmaxMatches?:number
Defined in: backend/src/toolkit/files.ts:55
maxSearchedFiles?
readonlyoptionalmaxSearchedFiles?:number
Defined in: backend/src/toolkit/files.ts:56
root
readonlyroot:string
Defined in: backend/src/toolkit/files.ts:45
Everything readable, and the only thing readable. Resolved through realpath at construction.
writableRoot?
readonlyoptionalwritableRoot?:string
Defined in: backend/src/toolkit/files.ts:52
Where writes may land, when writes are wanted at all.
Separate from root, and absent by default. A deployment that pointed both at the same directory would let
a model edit the material it also reads — which is how a corpus a model cites becomes a corpus a model wrote.