bookmark

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package bookmark manages the vault bookmark file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(name string, cfg *config.Config) error

Add appends name to the vault bookmark file, creating it if needed.

func Del

func Del(name string, cfg *config.Config) error

Del removes name from the vault bookmark file.

func List

func List(cfg *config.Config) error

List prints all bookmarks for the configured vault to stdout.

func ReadLines

func ReadLines(path string) ([]string, error)

ReadLines reads path and returns its non-empty lines.

func WriteLines

func WriteLines(path string, lines []string) error

WriteLines writes lines to path, one per line.

Types

This section is empty.

Jump to

Keyboard shortcuts

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