Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedAnalysis ¶
type CachedAnalysis struct {
FilePath string `json:"file_path"`
FileHash string `json:"file_hash"`
AnalyzedAt time.Time `json:"analyzed_at"`
Metadata FileMetadata `json:"metadata"`
Semantic *SemanticAnalysis `json:"semantic,omitempty"`
Error *string `json:"error,omitempty"`
}
CachedAnalysis represents a cached semantic analysis result
type FileInfo ¶
type FileInfo struct {
Path string `json:"path"`
RelPath string `json:"rel_path"`
Hash string `json:"hash"`
Size int64 `json:"size"`
Modified time.Time `json:"modified"`
Type string `json:"type"`
Category string `json:"category"`
IsReadable bool `json:"is_readable"`
}
FileInfo represents basic file metadata
type FileMetadata ¶
type FileMetadata struct {
FileInfo
// Type-specific fields
WordCount *int `json:"word_count,omitempty"`
PageCount *int `json:"page_count,omitempty"`
SlideCount *int `json:"slide_count,omitempty"`
Dimensions *ImageDim `json:"dimensions,omitempty"`
Duration *string `json:"duration,omitempty"`
Sections []string `json:"sections,omitempty"`
Language *string `json:"language,omitempty"`
Author *string `json:"author,omitempty"`
}
FileMetadata represents extracted file-specific metadata
type Index ¶
type Index struct {
Generated time.Time `json:"generated"`
Root string `json:"root"`
Entries []IndexEntry `json:"entries"`
Stats IndexStats `json:"stats"`
}
Index represents the complete memory index
type IndexEntry ¶
type IndexEntry struct {
Metadata FileMetadata `json:"metadata"`
Semantic *SemanticAnalysis `json:"semantic,omitempty"`
Error *string `json:"error,omitempty"`
}
IndexEntry combines metadata and semantic analysis
Click to show internal directories.
Click to hide internal directories.