hugo/helpers
Erica Mays 258884f44f cache: Set default cache path based on $USER
Change the default cache directory to `$TMPDIR/hugo_cache_$USER`, so
that multi-user systems do not have caches that interfere with each
other.  The other cache-choosing logic (e.g. Netlify exceptions,
configuration options) are not affected.

Fixes #7391
2023-06-12 21:33:35 +02:00
..
content.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
content_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
docshelper.go deps: Udpate to github.com/alecthomas/chroma/v2 2022-06-14 14:08:40 +02:00
emoji.go Update emoji import paths and version 2020-12-30 22:46:19 +01:00
emoji_test.go Update emoji import paths and version 2020-12-30 22:46:19 +01:00
general.go all: Fix comments for exported functions and packages 2023-05-18 21:25:27 +02:00
general_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
path.go cache: Set default cache path based on $USER 2023-06-12 21:33:35 +02:00
path_test.go helpers: simplify path tests with T.TempDir 2023-05-16 18:35:19 +02:00
pathspec.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
processing_stats.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
testhelpers_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
url.go helpers: Avoid url.Parse in RelURL and AbsURL if we can 2023-06-12 16:15:59 +02:00
url_test.go Adjust benchmarks 2023-06-12 16:06:11 +02:00