MCPcopy Create free account
hub / github.com/driangle/taskmd / TestHashLocalFile_NonexistentFile

Function TestHashLocalFile_NonexistentFile

apps/cli/internal/sync/engine_test.go:547–552  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

545}
546
547func TestHashLocalFile_NonexistentFile(t *testing.T) {
548 _, err := HashLocalFile("/nonexistent/path.md")
549 if err == nil {
550 t.Fatal("expected error for nonexistent file")
551 }
552}
553
554// Verify timestamps are set in state
555func TestEngine_StateTimestamps(t *testing.T) {

Callers

nothing calls this directly

Calls 1

HashLocalFileFunction · 0.85

Tested by

no test coverage detected