diff options
Diffstat (limited to 'hugofs')
-rw-r--r-- | hugofs/fileinfo.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hugofs/fileinfo.go b/hugofs/fileinfo.go index 5a0fc2363..74beb05dd 100644 --- a/hugofs/fileinfo.go +++ b/hugofs/fileinfo.go @@ -129,6 +129,10 @@ func (f FileMeta) IsSymlink() bool { return f.GetBool(metaKeyIsSymlink) } +func (f FileMeta) String() string { + return f.Filename() +} + func (f FileMeta) Watch() bool { if v, found := f["watch"]; found { return v.(bool) |