Documentation
¶
Overview ¶
Package scanner walks directory trees to discover and parse task files.
It produces a ScanResult containing all parsed model.Task values found under a root directory, grouping tasks by their parent directory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScanResult ¶
ScanResult contains the results of a directory scan
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
Scanner scans directories for markdown task files
func NewScanner ¶
NewScanner creates a new directory scanner. ignoreDirs specifies additional directory names to skip during scanning.
func (*Scanner) Scan ¶
func (s *Scanner) Scan() (*ScanResult, error)
Scan walks the directory tree and finds all markdown files with task frontmatter
Click to show internal directories.
Click to hide internal directories.