Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Key ¶
Key builds a normalized comparison key for a job. Primary key is title+company; URL is used as a fallback when needed.
func ReadJobsAllowMissing ¶
ReadJobsAllowMissing reads jobs and treats missing files as empty history.
Types ¶
type DiffStats ¶
DiffStats captures stats for A-B unseen filtering.
func (DiffStats) InvalidSkipped ¶
InvalidSkipped returns the total invalid records skipped during comparison.
type MergeStats ¶
type MergeStats struct {
TotalSeen int
TotalInput int
InvalidSeen int
InvalidInput int
Added int
TotalOut int
}
MergeStats captures stats for seen history updates.
func Merge ¶
Merge appends unique new jobs into the seen history. Existing seen entries win collisions.
func (MergeStats) InvalidSkipped ¶
func (s MergeStats) InvalidSkipped() int
InvalidSkipped returns the total invalid records skipped during merge.
Click to show internal directories.
Click to hide internal directories.