Documentation
¶
Overview ¶
Package vfsutil implements virtual filesystem utilities.
Index ¶
- func UnwrapFile[T vfs.File](f vfs.File) (_ T, _ bool)
- func WrapBeginAtomicWrite(f vfs.File) error
- func WrapCheckpointDone(f vfs.File)
- func WrapCheckpointStart(f vfs.File)
- func WrapChunkSize(f vfs.File, size int)
- func WrapCommitAtomicWrite(f vfs.File) error
- func WrapCommitPhaseTwo(f vfs.File) error
- func WrapHasMoved(f vfs.File) (bool, error)
- func WrapLockState(f vfs.File) vfs.LockLevel
- func WrapOpenFilename(f vfs.VFS, name *vfs.Filename, flags vfs.OpenFlag) (file vfs.File, _ vfs.OpenFlag, err error)
- func WrapOverwrite(f vfs.File) error
- func WrapPersistentWAL(f vfs.File) bool
- func WrapPowersafeOverwrite(f vfs.File) bool
- func WrapPragma(f vfs.File, name, value string) (string, error)
- func WrapRollbackAtomicWrite(f vfs.File) error
- func WrapSetPersistentWAL(f vfs.File, keepWAL bool)
- func WrapSetPowersafeOverwrite(f vfs.File, psow bool)
- func WrapSharedMemory(f vfs.File) vfs.SharedMemory
- func WrapSizeHint(f vfs.File, size int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnwrapFile ¶
UnwrapFile unwraps a vfs.File, possibly implementing vfs.FileUnwrap, to a concrete type.
func WrapBeginAtomicWrite ¶
WrapBeginAtomicWrite helps wrap vfs.FileBatchAtomicWrite.
func WrapCheckpointDone ¶
WrapCheckpointDone helps wrap vfs.FileCheckpoint.
func WrapCheckpointStart ¶
WrapCheckpointStart helps wrap vfs.FileCheckpoint.
func WrapChunkSize ¶
WrapChunkSize helps wrap vfs.FileChunkSize.
func WrapCommitAtomicWrite ¶
WrapCommitAtomicWrite helps wrap vfs.FileBatchAtomicWrite.
func WrapCommitPhaseTwo ¶
WrapCommitPhaseTwo helps wrap vfs.FileCommitPhaseTwo.
func WrapHasMoved ¶
WrapHasMoved helps wrap vfs.FileHasMoved.
func WrapLockState ¶
WrapLockState helps wrap vfs.FileLockState.
func WrapOpenFilename ¶
func WrapOpenFilename(f vfs.VFS, name *vfs.Filename, flags vfs.OpenFlag) (file vfs.File, _ vfs.OpenFlag, err error)
WrapOpenFilename helps wrap vfs.VFSFilename.
func WrapOverwrite ¶
WrapOverwrite helps wrap vfs.FileOverwrite.
func WrapPersistentWAL ¶
WrapPersistentWAL helps wrap vfs.FilePersistentWAL.
func WrapPowersafeOverwrite ¶
WrapPowersafeOverwrite helps wrap vfs.FilePowersafeOverwrite.
func WrapPragma ¶
WrapPragma helps wrap vfs.FilePragma.
func WrapRollbackAtomicWrite ¶
WrapRollbackAtomicWrite helps wrap vfs.FileBatchAtomicWrite.
func WrapSetPersistentWAL ¶
WrapSetPersistentWAL helps wrap vfs.FilePersistentWAL.
func WrapSetPowersafeOverwrite ¶
WrapSetPowersafeOverwrite helps wrap vfs.FilePowersafeOverwrite.
func WrapSharedMemory ¶
func WrapSharedMemory(f vfs.File) vfs.SharedMemory
WrapSharedMemory helps wrap vfs.FileSharedMemory.
func WrapSizeHint ¶
WrapSizeHint helps wrap vfs.FileSizeHint.
Types ¶
This section is empty.