diff options
| author | Paul Buetow <paul@buetow.org> | 2026-07-06 23:05:48 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-07-06 23:05:48 +0300 |
| commit | 5600bedb927e291e2e78e6140de256e1a1d4475c (patch) | |
| tree | af19c6b484135afed332a8e3fcda7e8ded5ac4b8 /internal | |
| parent | f7498c9ae626b9ab654fe6eb736e19c62cf5d38d (diff) | |
refactor
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/resource/dir/dir.go | 2 | ||||
| -rw-r--r-- | internal/resource/dir/dir_test.go | 2 | ||||
| -rw-r--r-- | internal/resource/dir/source.go | 2 | ||||
| -rw-r--r-- | internal/resource/file/file.go | 2 | ||||
| -rw-r--r-- | internal/resource/file/file_test.go | 2 | ||||
| -rw-r--r-- | internal/resource/link/link.go | 2 | ||||
| -rw-r--r-- | internal/resource/link/link_test.go | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/internal/resource/dir/dir.go b/internal/resource/dir/dir.go index 283cea9..94220b7 100644 --- a/internal/resource/dir/dir.go +++ b/internal/resource/dir/dir.go @@ -7,7 +7,7 @@ import ( "os/user" "strconv" - opt "codeberg.org/snonux/gonf/api/option" + opt "codeberg.org/snonux/gonf/api/options" "codeberg.org/snonux/gonf/internal/resource" ) diff --git a/internal/resource/dir/dir_test.go b/internal/resource/dir/dir_test.go index eb22268..c7ec92e 100644 --- a/internal/resource/dir/dir_test.go +++ b/internal/resource/dir/dir_test.go @@ -6,7 +6,7 @@ import ( "testing" "codeberg.org/snonux/gonf/internal/resource" - . "codeberg.org/snonux/gonf/api/option" + . "codeberg.org/snonux/gonf/api/options" ) func TestPresentDirectoryCreate(t *testing.T) { diff --git a/internal/resource/dir/source.go b/internal/resource/dir/source.go index b94756d..1539590 100644 --- a/internal/resource/dir/source.go +++ b/internal/resource/dir/source.go @@ -9,7 +9,7 @@ import ( "codeberg.org/snonux/gonf/internal/resource/file" "codeberg.org/snonux/gonf/internal/resource/link" - opt "codeberg.org/snonux/gonf/api/option" + opt "codeberg.org/snonux/gonf/api/options" ) // copySourceTree mirrors d.source into d.path, dispatching each entry by diff --git a/internal/resource/file/file.go b/internal/resource/file/file.go index 9879e27..9d8a0d9 100644 --- a/internal/resource/file/file.go +++ b/internal/resource/file/file.go @@ -10,7 +10,7 @@ import ( "strings" "text/template" - opt "codeberg.org/snonux/gonf/api/option" + opt "codeberg.org/snonux/gonf/api/options" "codeberg.org/snonux/gonf/internal/resource" ) diff --git a/internal/resource/file/file_test.go b/internal/resource/file/file_test.go index 7f9fedd..b158657 100644 --- a/internal/resource/file/file_test.go +++ b/internal/resource/file/file_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - . "codeberg.org/snonux/gonf/api/option" + . "codeberg.org/snonux/gonf/api/options" "codeberg.org/snonux/gonf/internal/resource" ) diff --git a/internal/resource/link/link.go b/internal/resource/link/link.go index 2bd8c66..a5c5122 100644 --- a/internal/resource/link/link.go +++ b/internal/resource/link/link.go @@ -5,7 +5,7 @@ import ( "log" "os" - opt "codeberg.org/snonux/gonf/api/option" + opt "codeberg.org/snonux/gonf/api/options" "codeberg.org/snonux/gonf/internal/resource" ) diff --git a/internal/resource/link/link_test.go b/internal/resource/link/link_test.go index 3012435..862d5f7 100644 --- a/internal/resource/link/link_test.go +++ b/internal/resource/link/link_test.go @@ -6,7 +6,7 @@ import ( "testing" "codeberg.org/snonux/gonf/internal/resource" - . "codeberg.org/snonux/gonf/api/option" + . "codeberg.org/snonux/gonf/api/options" ) func TestPresentSymlinkCreateAndIdempotent(t *testing.T) { |
