From d0d2a9ea592b5f6ce16d7a47779747ad7eb5ef6f Mon Sep 17 00:00:00 2001 From: ยท๐‘‘๐‘ด๐‘•๐‘‘๐‘ฉ๐‘ค Date: Tue, 23 Dec 2025 03:30:41 +0000 Subject: docs/manifest: directory example --- doc/manifest.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/doc/manifest.rst b/doc/manifest.rst index 6b72aa2..204dcdc 100644 --- a/doc/manifest.rst +++ b/doc/manifest.rst @@ -266,6 +266,25 @@ File with mirror + templated nodes } } +Local directory checking for latest modification +-------------------------------------------------------------------------------- + +.. code:: text + + soupault-plugins { + file { + url "file:///home/toastal/my-project" + } + latest-cmd { + $ printf "%s" "{{url}}" + | sed "s|^file://||" + | xargs find "-print0" + | xargs "-0" stat -c %Y + | sort -n + | tail -n1 + } + } + Basic Pijul with BLAKE3 hash -------------------------------------------------------------------------------- -- cgit v1.2.3