diff options
| author | ยท๐๐ด๐๐๐ฉ๐ค | 2025-12-23 03:30:41 +0000 |
|---|---|---|
| committer | ยท๐๐ด๐๐๐ฉ๐ค | 2025-12-23 03:30:41 +0000 |
| commit | d0d2a9ea592b5f6ce16d7a47779747ad7eb5ef6f (patch) | |
| tree | 70956a7e9e5f4eb4bebcca4c118179aff55c9663 /doc/manifest.rst | |
| parent | ec7e422ccabfc68b07ee8864e8eed3de24a8e723 (diff) | |
| download | nixtaml-d0d2a9ea592b5f6ce16d7a47779747ad7eb5ef6f.tar nixtaml-d0d2a9ea592b5f6ce16d7a47779747ad7eb5ef6f.tar.gz nixtaml-d0d2a9ea592b5f6ce16d7a47779747ad7eb5ef6f.tar.bz2 nixtaml-d0d2a9ea592b5f6ce16d7a47779747ad7eb5ef6f.tar.lz nixtaml-d0d2a9ea592b5f6ce16d7a47779747ad7eb5ef6f.tar.xz nixtaml-d0d2a9ea592b5f6ce16d7a47779747ad7eb5ef6f.tar.zst nixtaml-d0d2a9ea592b5f6ce16d7a47779747ad7eb5ef6f.zip | |
docs/manifest: directory example
Diffstat (limited to 'doc/manifest.rst')
| -rw-r--r-- | doc/manifest.rst | 19 |
1 files changed, 19 insertions, 0 deletions
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 -------------------------------------------------------------------------------- |
