MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / FileStateEntry

Struct FileStateEntry

tools/file/types.go:5–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import "encoding/json"
4
5type FileStateEntry struct {
6 Content string `json:"content"`
7 TimeStamp float64 `json:"timestamp"`
8 IsPartialView bool `json:"is_partial_view"`
9 LineEndings string `json:"line_endings"`
10}
11
12func (f *FileStateEntry) ToMap() (map[string]any, error) {
13 b, err := json.Marshal(f)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected