mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
resources: Fix spelling in method name
This commit is contained in:
parent
d297c8e1b5
commit
be8e2de597
2 changed files with 3 additions and 3 deletions
|
@ -106,7 +106,7 @@ func (c *ImageCache) getOrCreate(
|
|||
rp := img.getResourcePaths()
|
||||
rp.relTargetDirFile.file = relTarget.file
|
||||
img.setSourceFilename(info.Name)
|
||||
img.setSourfeFilenameIsHash(true)
|
||||
img.setSourceFilenameIsHash(true)
|
||||
img.setMediaType(conf.TargetFormat.MediaType())
|
||||
|
||||
return img.InitConfig(r)
|
||||
|
|
|
@ -215,7 +215,7 @@ func (d dirFile) path() string {
|
|||
type fileInfo interface {
|
||||
getSourceFilename() string
|
||||
setSourceFilename(string)
|
||||
setSourfeFilenameIsHash(bool)
|
||||
setSourceFilenameIsHash(bool)
|
||||
setSourceFs(afero.Fs)
|
||||
getFileInfo() hugofs.FileMetaInfo
|
||||
hash() (string, error)
|
||||
|
@ -645,7 +645,7 @@ func (fi *resourceFileInfo) setSourceFilename(s string) {
|
|||
fi.sourceFilename = s
|
||||
}
|
||||
|
||||
func (fi *resourceFileInfo) setSourfeFilenameIsHash(b bool) {
|
||||
func (fi *resourceFileInfo) setSourceFilenameIsHash(b bool) {
|
||||
fi.sourceFilenameIsHash = b
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue