Documentation
¶
Overview ¶
Package fileinventory indexes workspace files for search and context views.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderText ¶
Types ¶
type Report ¶
type Report struct {
Kind string `json:"kind"`
Action string `json:"action"`
Root string `json:"root"`
Path string `json:"path,omitempty"`
Glob string `json:"glob,omitempty"`
Total int `json:"total"`
Limit int `json:"limit"`
Truncated bool `json:"truncated"`
Bytes int64 `json:"bytes"`
RespectGitignore bool `json:"respect_gitignore"`
Files []Entry `json:"files"`
ScopeRisk ScopeRisk `json:"scope_risk"`
}
type ScopeRisk ¶
type ScopeRisk struct {
Status string `json:"status"`
Level string `json:"level"`
Summary string `json:"summary"`
SinkCount int `json:"sink_count"`
Sinks []ScopeRiskSink `json:"sinks,omitempty"`
Recommendations []string `json:"recommendations,omitempty"`
}
ScopeRisk summarizes token-risk preflight findings for a workspace scan.
Click to show internal directories.
Click to hide internal directories.