package
0.5.11
Repository: https://github.com/superfly/litefs.git
Documentation: pkg.go.dev

# Functions

Compress returns true if LTX compression is enabled.
IsWALMode returns the true if -journal-mode is set to "wal".
JournalMode returns the value of -journal-mode.
MustCopyDir recursively copies files from src directory to dst directory.
OpenSQLDB opens a connection to a SQLite database.
PageSize returns the value of -page-size flag.
ReopenSQLDB closes the existing database connection and reopens it with the DSN.
RetryUntil calls fn every interval until it returns nil or timeout elapses.
WithTx executes fn in the context of a database transaction.