Documentation
¶
Index ¶
- type FS
- func (m *FS) Abs(r path.Relative) path.Absolute
- func (f *FS) Close() error
- func (fsys *FS) Delete(p path.Relative, recursive bool) (err error)
- func (fsys *FS) Exists(p path.Relative) bool
- func (fsys *FS) ModTime(p path.Relative) (t time.Time, err error)
- func (fsys *FS) Reader(p path.Relative) (io.ReadCloser, error)
- func (fsys *FS) Size(file path.Relative) int64
- func (fsys *FS) Write(p path.Relative, rd io.ReadCloser, inbetween bool) (err error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
type Option ¶
type Option func(*FS)
Option is an option for the dbfs
func OptBlobTable ¶
OptBlobTable sets the name of the blob table
func OptCreateTables ¶
func OptCreateTables() Option
OptCreateTables sets the option for creating/initializing the tables (always the default for in memory databases)
func OptFileTable ¶
OptFileTable sets the name of the file table
func OptSqliteFlags ¶
OptSqliteFlags sets the flags of the underlying sqlite db
Click to show internal directories.
Click to hide internal directories.