commit ccbecf9123a4f8da3ed02e5fe1ef3347dcf55c5b parent 7f89a00ccfdb2262546b2ec6b7b63f39006c2dac Author: Jack Mordaunt <jackmordaunt@gmail.com> Date: Wed, 21 Nov 2018 15:36:01 +1300 [~] Describe what gifdb does. Diffstat:
| M | cmd/desktop/store.go | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/cmd/desktop/store.go b/cmd/desktop/store.go @@ -14,6 +14,9 @@ import ( "github.com/pkg/errors" ) +// Gif images are stored as-is on disk with a corresponding json file that +// contains the metadata. Why did I use goroutines to parellelise writing just +// two files? Don't ask me that, man. type gifdb struct { Dir string init sync.Once