From 86a2b71c472e9d2dd5a38ffcb08dcba02be0fc9f Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Fri, 19 Feb 2021 12:37:26 +1100 Subject: [PATCH] Code comment --- storage/sqlite/sqlite-storage.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/storage/sqlite/sqlite-storage.go b/storage/sqlite/sqlite-storage.go index 97f7181a..1eb4b0fe 100644 --- a/storage/sqlite/sqlite-storage.go +++ b/storage/sqlite/sqlite-storage.go @@ -187,6 +187,9 @@ func NewPiecesStorage(opts NewPiecesStorageOpts) (_ storage.ClientImplCloser, er } type NewPoolOpts struct { + // See https://www.sqlite.org/c3ref/open.html. NB: "If the filename is an empty string, then a + // private, temporary on-disk database will be created. This private database will be + // automatically deleted as soon as the database connection is closed." Path string Memory bool NumConns int -- 2.48.1