gitbutler/crates/gitbutler-watcher/tests/fixtures/add_rename_to_dir_event.hjson
Sebastian Thiel cdf508e04c
Show what changed to get the version we currently have
This reverts commit 547f2ffada.

That way it's more obvious when looking at the history what was added
and changed.
2024-05-24 15:44:13 +02:00

25 lines
480 B
Plaintext

{
state: {
file_system: {
/watch/parent: 1
/watch/parent/child: 2
}
}
events: [
{ kind: "rename-to", paths: ["/watch/parent"] }
]
expected: {
queues: {
/watch/parent: {
events: [
{ kind: "rename-to", paths: ["*"] }
]
}
}
cache: {
/watch/parent: 1
/watch/parent/child: 2
}
}
}