mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
target: Remove unused code
This commit is contained in:
parent
4ada1cab4d
commit
263daaeabc
1 changed files with 0 additions and 4 deletions
|
@ -56,10 +56,6 @@ func (fs *Filesystem) Translate(src string) (dest string, err error) {
|
||||||
return filepath.Join(fs.PublishDir, filepath.FromSlash(src)), nil
|
return filepath.Join(fs.PublishDir, filepath.FromSlash(src)), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (fs *Filesystem) extension(ext string) string {
|
|
||||||
return ext
|
|
||||||
}
|
|
||||||
|
|
||||||
func filename(f string) string {
|
func filename(f string) string {
|
||||||
ext := filepath.Ext(f)
|
ext := filepath.Ext(f)
|
||||||
if ext == "" {
|
if ext == "" {
|
||||||
|
|
Loading…
Reference in a new issue