hugo/common
Bjørn Erik Pedersen 022c479551
hugofs: Make FileMeta a struct
This commit started out investigating a `concurrent map read write` issue, ending by replacing the map with a struct.

This is easier to reason about, and it's more effective:

```
name                                  old time/op    new time/op    delta
SiteNew/Regular_Deep_content_tree-16    71.5ms ± 3%    69.4ms ± 5%    ~     (p=0.200 n=4+4)

name                                  old alloc/op   new alloc/op   delta
SiteNew/Regular_Deep_content_tree-16    29.7MB ± 0%    27.9MB ± 0%  -5.82%  (p=0.029 n=4+4)

name                                  old allocs/op  new allocs/op  delta
SiteNew/Regular_Deep_content_tree-16      313k ± 0%      303k ± 0%  -3.35%  (p=0.029 n=4+4)
```

See #8749
2021-07-15 17:14:26 +02:00
..
collections all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
constants Allow getJSON errors to be ignored 2020-10-22 09:09:29 +02:00
herrors all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
hexec Improve LookPath 2020-12-19 17:03:07 +01:00
hreflect Correct function name in comment 2021-04-22 12:24:12 +02:00
hugio all: Fix minor typos 2020-12-16 12:11:32 +01:00
hugo hugofs: Make FileMeta a struct 2021-07-15 17:14:26 +02:00
loggers tpl/fmt: Add erroridf template func 2021-06-07 19:11:03 +02:00
maps Fix config handling with empty config entries after merge 2021-06-27 15:01:56 +02:00
math tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
para para: Skip para test when not on CI 2020-12-23 19:47:20 +01:00
paths Split out the puthe path/filepath functions into common/paths 2021-06-18 10:55:00 +02:00
terminal Fix ANSI character output regression on Windows 2018-11-02 09:09:02 +01:00
text Revert "publisher: Make the HTML element collector more robust" 2021-05-19 03:45:36 +02:00
types commands: Make the --poll flag a duration 2021-07-05 10:23:29 +02:00
urls Add file (line/col) info to ref/relref errors 2018-11-01 21:06:35 +01:00