Documentation
¶
Index ¶
- func List(opts Options, target string) int
- func ManagedCheck(opts Options, target string) int
- func ManagedList(opts Options, target string) int
- func ManagedTree(opts Options, target string) int
- func Run(opts Options) int
- type ListResult
- type ManagedCheckResult
- type ManagedListResult
- type ManagedTreeNode
- type ManagedTreeResult
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ManagedCheck ¶ added in v1.0.5
func ManagedList ¶ added in v1.0.5
func ManagedTree ¶ added in v1.0.5
Types ¶
type ListResult ¶ added in v1.0.3
type ListResult struct {
OK bool `json:"ok"`
Strict bool `json:"strict"`
Root string `json:"root"`
Path string `json:"path"`
FrontMatter []frontmatter.Item `json:"frontMatter"`
Diagnostics []diagnostic.Diagnostic `json:"diagnostics"`
}
type ManagedCheckResult ¶ added in v1.0.5
type ManagedCheckResult struct {
Managed bool `json:"managed"`
Root string `json:"root"`
Config string `json:"config,omitempty"`
Path string `json:"path"`
Diagnostics []diagnostic.Diagnostic `json:"diagnostics"`
}
type ManagedListResult ¶ added in v1.0.5
type ManagedListResult struct {
Root string `json:"root"`
Config string `json:"config,omitempty"`
Path string `json:"path"`
Files []string `json:"files"`
Diagnostics []diagnostic.Diagnostic `json:"diagnostics"`
}
type ManagedTreeNode ¶ added in v1.0.5
type ManagedTreeNode struct {
Name string `json:"name"`
Path string `json:"path"`
Type string `json:"type"`
Children []ManagedTreeNode `json:"children,omitempty"`
}
type ManagedTreeResult ¶ added in v1.0.5
type ManagedTreeResult struct {
Root string `json:"root"`
Config string `json:"config,omitempty"`
Path string `json:"path"`
Tree *ManagedTreeNode `json:"tree,omitempty"`
Diagnostics []diagnostic.Diagnostic `json:"diagnostics"`
}
Click to show internal directories.
Click to hide internal directories.