vaultik/internal/snapshot
sneak 88e2508dc7 Eliminate redundant filesystem traversal in scan phase
Remove the separate enumerateFiles() function that was doing a full
directory walk using Readdir() which calls stat() on every file.
Instead, build the existingFiles map during the scan phase walk,
and detect deleted files afterward.

This eliminates one full filesystem traversal, significantly speeding
up the scan phase for large directories.
2025-12-19 12:15:13 +07:00
..
backup_test.go Major refactoring: Updated manifest format and renamed backup to snapshot 2025-07-26 03:27:47 +02:00
file_change_test.go Optimize scan phase: in-memory change detection and batched DB writes 2025-12-19 12:08:47 +07:00
manifest.go Major refactoring: Updated manifest format and renamed backup to snapshot 2025-07-26 03:27:47 +02:00
module.go Add pluggable storage backend, PID locking, and improved scan progress 2025-12-19 11:52:51 +07:00
progress.go Refactor: Move Vaultik struct and methods to internal/vaultik package 2025-07-26 14:47:26 +02:00
scanner_test.go Optimize scan phase: in-memory change detection and batched DB writes 2025-12-19 12:08:47 +07:00
scanner.go Eliminate redundant filesystem traversal in scan phase 2025-12-19 12:15:13 +07:00
snapshot_test.go Integrate afero filesystem abstraction library 2025-07-26 15:33:18 +02:00
snapshot.go Add pluggable storage backend, PID locking, and improved scan progress 2025-12-19 11:52:51 +07:00