summaryrefslogtreecommitdiff
path: root/internal/file.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-03-08 08:46:00 +0200
committerPaul Buetow <paul@buetow.org>2024-03-08 08:46:00 +0200
commit0b94a7cced7d4bb9a44c9e9e827c4e3b09e5e8dc (patch)
tree3401f36473884d72f88de53339def3e314cf7c1b /internal/file.go
parentb215bafceeecbe97de19fb3111dc080196224ab9 (diff)
as per https://codeberg.org/snonux/ioriotng/issues/19
Diffstat (limited to 'internal/file.go')
-rw-r--r--internal/file.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/internal/file.go b/internal/file.go
index 81fe43d..72fe57e 100644
--- a/internal/file.go
+++ b/internal/file.go
@@ -43,3 +43,16 @@ func (f oldnameNewnameFile) String() string {
return sb.String()
}
+
+type pathnameFile struct {
+ pathname string
+}
+
+func (f pathnameFile) String() string {
+ var sb strings.Builder
+
+ sb.WriteString("pathname:")
+ sb.WriteString(f.pathname)
+
+ return sb.String()
+}