From 0b94a7cced7d4bb9a44c9e9e827c4e3b09e5e8dc Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 8 Mar 2024 08:46:00 +0200 Subject: as per https://codeberg.org/snonux/ioriotng/issues/19 --- internal/file.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'internal/file.go') 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() +} -- cgit v1.2.3