diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-11-16 17:58:06 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-11-16 20:32:43 +0100 |
commit | ad43d137d5382836ed7b173bd33ccac4b19a0e8d (patch) | |
tree | bf7f64c536024f6f64993e60d5accd54473857dd /source | |
parent | f7fc6ccd59e6ca1e784cba3d9133640b02fa6d20 (diff) | |
download | hugo-ad43d137d5382836ed7b173bd33ccac4b19a0e8d.tar.gz hugo-ad43d137d5382836ed7b173bd33ccac4b19a0e8d.zip |
Remove deprecations <= v0.122.0 (note)
These have, once we release this, been logging ERROR for 6 minor versions.
Diffstat (limited to 'source')
-rw-r--r-- | source/fileInfo.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/fileInfo.go b/source/fileInfo.go index bece86fa9..8994dec97 100644 --- a/source/fileInfo.go +++ b/source/fileInfo.go @@ -56,13 +56,6 @@ func (fi *File) Dir() string { return fi.pathToDir(fi.p().Dir()) } -// Extension is an alias to Ext(). -// Deprecated: Use Ext() instead. -func (fi *File) Extension() string { - hugo.Deprecate(".File.Extension", "Use .File.Ext instead.", "v0.96.0") - return fi.Ext() -} - // Ext returns a file's extension without the leading period (e.g. "md"). func (fi *File) Ext() string { return fi.p().Ext() } |