From 8c6a96545d9466a2f641d591c506309bf5b04070 Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Fri, 10 Jan 2020 08:37:24 -0600 Subject: [PATCH] Add organization and documentation to hooks collection --- contrib/hooks/encrypt_with_checksums/README.md | 9 +++++++++ contrib/hooks/{ => encrypt_with_checksums}/post_encrypt | 0 contrib/hooks/{ => encrypt_with_checksums}/post_list | 0 contrib/hooks/{ => encrypt_with_checksums}/post_status | 0 4 files changed, 9 insertions(+) create mode 100644 contrib/hooks/encrypt_with_checksums/README.md rename contrib/hooks/{ => encrypt_with_checksums}/post_encrypt (100%) rename contrib/hooks/{ => encrypt_with_checksums}/post_list (100%) rename contrib/hooks/{ => encrypt_with_checksums}/post_status (100%) diff --git a/contrib/hooks/encrypt_with_checksums/README.md b/contrib/hooks/encrypt_with_checksums/README.md new file mode 100644 index 0000000..fa5f368 --- /dev/null +++ b/contrib/hooks/encrypt_with_checksums/README.md @@ -0,0 +1,9 @@ +## Track checksums of encrypted files + +Contributed by Martin Zuther + +Hook | Description +---- | ----------- +post_encrypt | Collects the checksums of encrypted files, and stores them in .config/yadm/files.checksums +post_list | Prints the names of encrypted files +post_status | Reports untracked changes within encrypted files diff --git a/contrib/hooks/post_encrypt b/contrib/hooks/encrypt_with_checksums/post_encrypt similarity index 100% rename from contrib/hooks/post_encrypt rename to contrib/hooks/encrypt_with_checksums/post_encrypt diff --git a/contrib/hooks/post_list b/contrib/hooks/encrypt_with_checksums/post_list similarity index 100% rename from contrib/hooks/post_list rename to contrib/hooks/encrypt_with_checksums/post_list diff --git a/contrib/hooks/post_status b/contrib/hooks/encrypt_with_checksums/post_status similarity index 100% rename from contrib/hooks/post_status rename to contrib/hooks/encrypt_with_checksums/post_status