diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-12-08 07:34:54 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-12-08 07:38:47 +0900 |
| commit | 0c38fb7b6a17bed9392a4cf46fc752bc2de8eb18 (patch) | |
| tree | 44a762beb44193693ada3c97c368e4f12a4ec054 /internal | |
| parent | 357cfcddeea14d6babacf7ae8f77e0bad7b24ee5 (diff) | |
hst: expose daemon as fs entry
This is slightly counterintuitive, but it turned out well under this framework since the daemon backs its target file.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/outcome/spcontainer.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/outcome/spcontainer.go b/internal/outcome/spcontainer.go index 28697b41..768e6bc5 100644 --- a/internal/outcome/spcontainer.go +++ b/internal/outcome/spcontainer.go @@ -382,6 +382,10 @@ func (p opsAdapter) Link(target *check.Absolute, linkName string, dereference bo return opsAdapter{p.Ops.Link(target, linkName, dereference)} } +func (p opsAdapter) Daemon(target, path *check.Absolute, args ...string) hst.Ops { + return opsAdapter{p.Ops.Daemon(target, path, args...)} +} + func (p opsAdapter) Root(host *check.Absolute, flags int) hst.Ops { return opsAdapter{p.Ops.Root(host, flags)} } |
