Documentation
¶
Overview ¶
Package dir implements an on-disk reference storage adapter.
To use it, add a anonymous import to your main package:
import ( _ "github.com/digineo/texd/refstore/dir" )
For configuration, use a DSN with the following shape:
dsn := "dir:///path/for/persistent/files?options" dir, _ := refstore.NewStore(dsn)
Note the triple-slash: the scheme is "dir://", and the directory itself is /path/for/persistent/files. See New() for valid options.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.