rescanlog

package
v0.3.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package rescanlog appends each serve source-rescan tick to an append-only .remindb/rescan.jsonl.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Path

func Path(workspace string) string

Path returns the rescan-history file under workspace.

Types

type Sink

type Sink struct {
	// contains filtered or unexported fields
}

func New

func New(workspace string, maxFileSize int64) (*Sink, error)

New ensures <workspace>/.remindb exists and returns a sink bounded by maxFileSize bytes.

func (*Sink) Append

func (s *Sink) Append(snap rescanstat.Snapshot) error

Append writes one tick snapshot as a JSON line, rotating once when the cap is reached.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL