watch

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WatchClipboard

func WatchClipboard(cfg *api.AppConfig) error

Read user input from clipboard and write response to clipboard

func WatchFile

func WatchFile(files ...string) error

https://github.com/fsnotify/fsnotify/blob/main/cmd/fsnotify/file.go Watch one or more files, but instead of watching the file directly it watches the parent directory. This solves various issues where files are frequently renamed, such as editors saving them.

func WatchRepo

func WatchRepo(cfg *api.AppConfig) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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