Discover Packages
github.com/jaredallard/remarkabledayone
internal
state
package
Version:
v0.1.3
Opens a new window with list of versions in this module.
Published: May 31, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package state implements state tracking for the remarkabledayone
utility.
type State struct {
SyncedPages map[string ]struct{} `yaml:"synced_pages"`
}
Load loads the state from disk. If an error occurs, it will return
a new state.
Save saves the state to disk if there was a path provided when it was
created. Top-level directories are created if they don't exist.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.