]> git.maquefel.me Git - brevno-suite/hugo/commit
Fix same resource file published more than once
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 26 Dec 2024 12:47:10 +0000 (13:47 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 27 Dec 2024 17:55:24 +0000 (18:55 +0100)
commit77824d704c124dc43b30352a03f1fbad13e54dfe
treea2256beb8e3c699c4fbc95eb054c401dd0a4e186
parentec0caaec7ce41ca6236da9d661e92dc433e1951b
Fix same resource file published more than once

This may still happen, though, in low memory situations or very big sites, but I'm not sure it's worth spending time on fixing that. Writing the same file more than once isn't harmful, the negative effect is the false path warning.
 We may find a way to detect that situation if this becomes a real problem.

Fixes #13164
hugofs/rootmapping_fs.go
resources/resource_cache.go
resources/resource_factories/create/create.go
testscripts/commands/hugo__path-warnings_issue13164.txt [new file with mode: 0644]