diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-02-18 10:21:31 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-02-18 10:21:31 +0200 |
commit | 24f26b26d0ee56f0d61ce083ad88c02bfa5f72d2 (patch) | |
tree | 07748d63e17f45261c30bb7176c07e5ab60c462f /summain.md | |
parent | 2de0f1bd7d2d91f70b670d23a42049e2bf2f7e03 (diff) | |
download | summain-rs-24f26b26d0ee56f0d61ce083ad88c02bfa5f72d2.tar.gz |
feat: handle Unix domain sockets
Diffstat (limited to 'summain.md')
-rw-r--r-- | summain.md | 35 |
1 files changed, 35 insertions, 0 deletions
@@ -202,3 +202,38 @@ functions: - subplot/summain.py - subplot/runcmd.py ... + +## Unix domain socket + +~~~scenario +given an installed summain +given socket aaa +and file aaa has mode 0700 +and mtime for aaa is 44 +when I run summain aaa +then output matches file socket.yaml +~~~ + +```{#socket.yaml .file .numberLines} +--- +path: aaa +mode: srwx------ +mtime: 44 +mtime_nsec: 0 +nlink: 1 +size: 0 +sha256: ~ +target: ~ +``` + +--- +title: "Summain—deterministic file manifests" +author: Lars Wirzenius +template: python +bindings: + - subplot/summain.yaml + - subplot/runcmd.yaml +functions: + - subplot/summain.py + - subplot/runcmd.py +... |