MCPcopy
hub / github.com/mtlynch/picoshare / New

Function New

store/sqlite/sqlite.go:30–32  ·  view source on GitHub ↗
(path string, optimizeForLitestream bool)

Source from the content-addressed store, hash-verified

28)
29
30func New(path string, optimizeForLitestream bool) Store {
31 return NewWithChunkSize(path, defaultChunkSize, optimizeForLitestream)
32}
33
34// NewWithChunkSize creates a SQLite-based datastore with the user-specified
35// chunk size for writing files. Most callers should just use New().

Callers 2

NewFunction · 0.92
mainFunction · 0.92

Calls 1

NewWithChunkSizeFunction · 0.70

Tested by

no test coverage detected