summaryrefslogtreecommitdiff
path: root/internal/resource
diff options
context:
space:
mode:
Diffstat (limited to 'internal/resource')
-rw-r--r--internal/resource/dir/dir.go2
-rw-r--r--internal/resource/dir/dir_test.go2
-rw-r--r--internal/resource/dir/source.go2
-rw-r--r--internal/resource/file/file.go2
-rw-r--r--internal/resource/file/file_test.go2
-rw-r--r--internal/resource/link/link.go2
-rw-r--r--internal/resource/link/link_test.go2
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) {