aboutsummaryrefslogtreecommitdiffhomepage
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/fileInfo.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/fileInfo.go b/source/fileInfo.go
index 412d64050..9adb96df4 100644
--- a/source/fileInfo.go
+++ b/source/fileInfo.go
@@ -76,9 +76,6 @@ type File interface {
FileInfo() os.FileInfo
String() string
-
- // Deprecated
- Bytes() []byte
}
// A ReadableFile is a File that is readable.
@@ -138,12 +135,6 @@ func (fi *FileInfo) FileInfo() os.FileInfo {
return fi.fi
}
-func (fi *FileInfo) Bytes() []byte {
- // Remove in Hugo 0.38
- helpers.Deprecated("File", "Bytes", "", true)
- return []byte("")
-}
-
func (fi *FileInfo) String() string { return fi.BaseFileName() }
// We create a lot of these FileInfo objects, but there are parts of it used only