diff options
| author | Paul Buetow <paul@buetow.org> | 2026-07-05 11:10:10 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-07-05 11:10:10 +0300 |
| commit | 5256a4d1e5a56510758bfac710ba2ad2a45af66e (patch) | |
| tree | bff875458182a308979a575a78a26e61ff248a05 /examples/examples.go | |
| parent | 6cf5e1bf6e8f1551cf215bf838c27ec8281cf045 (diff) | |
initial Apply
Diffstat (limited to 'examples/examples.go')
| -rw-r--r-- | examples/examples.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/examples.go b/examples/examples.go index b350576..9c42ce6 100644 --- a/examples/examples.go +++ b/examples/examples.go @@ -3,6 +3,7 @@ package examples import ( "os" + "codeberg.org/snonux/gonf/internal/resource" "codeberg.org/snonux/gonf/internal/resource/dir" "codeberg.org/snonux/gonf/internal/resource/file" "codeberg.org/snonux/gonf/internal/resource/link" @@ -69,5 +70,7 @@ func Run() error { _ = os.Link("/tmp/gonf_hello.txt", "/tmp/gonf_stale_hardlink") link.Have("/tmp/gonf_stale_hardlink", IsAbsent()) + resource.Apply() + return nil } |
