mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 22:16:02 +00:00
target: Remove unused code
This commit is contained in:
1 parent
4ada1cab4d
commit
263daaeabc
1 file changed
-4
@@ -56,10 +56,6 @@ func (fs *Filesystem) Translate(src string) (dest string, err error) {
|
||||
return filepath.Join(fs.PublishDir, filepath.FromSlash(src)), nil
|
||||
}
|
||||
|
||||
func (fs *Filesystem) extension(ext string) string {
|
||||
return ext
|
||||
}
|
||||
|
||||
func filename(f string) string {
|
||||
ext := filepath.Ext(f)
|
||||
if ext == "" {
|
||||
|
||||
Reference in new issue
Block a user