diff options
| author | Paul Buetow <paul@buetow.org> | 2024-03-08 08:46:00 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-03-08 08:46:00 +0200 |
| commit | 0b94a7cced7d4bb9a44c9e9e827c4e3b09e5e8dc (patch) | |
| tree | 3401f36473884d72f88de53339def3e314cf7c1b /internal/file.go | |
| parent | b215bafceeecbe97de19fb3111dc080196224ab9 (diff) | |
as per https://codeberg.org/snonux/ioriotng/issues/19
Diffstat (limited to 'internal/file.go')
| -rw-r--r-- | internal/file.go | 13 |
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() +} |
