MCPcopy Create free account
hub / github.com/danielmiessler/Fabric / FileItem

Struct FileItem

cmd/code2context/code.go:12–17  ·  view source on GitHub ↗

FileItem represents a file in the project

Source from the content-addressed store, hash-verified

10
11// FileItem represents a file in the project
12type FileItem struct {
13 Type string `json:"type"`
14 Name string `json:"name"`
15 Content string `json:"content,omitempty"`
16 Contents []FileItem `json:"contents,omitempty"`
17}
18
19// ProjectData represents the entire project structure with instructions
20type ProjectData struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected