Registry / utility / fatih-motion

fatih-motion

JSON →
library1.2.0gogounverified

A Go library for detecting file changes and triggering actions.

go get github.com/fatih/motion
INSTALL
IMPORT
SIG · FATIH-MOTION
F
fatih-motion
utilitygov1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

motion
✓ github.com/fatih/motion

Watches a directory for file changes and prints events.

package main import ( "fmt" "github.com/fatih/motion" ) func main() { m := motion.New() m.Watch(".", func(event motion.Event) { fmt.Printf("File changed: %s\n", event.Path) }) m.Start() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
fatih-motion — go get fatih-motion · libregistry