Documentation
¶
Overview ¶
Package sessionstore opens a private OVDB SQLite authority for working sessions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolvePrivateDirectory ¶
ResolvePrivateDirectory is shared by private working context and local display caches. It never creates files, accepts repository storage, or exposes paths through a remote transport.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) NativeRepository ¶ added in v0.90.0
func (m *Manager) NativeRepository(project, projectDir, privateBase string) (*NativeRepository, error)
NativeRepository wraps ALL session mutations in the same native project admission as Detective. View stays unlocked so native finalization can check its fence under admission without trying to reacquire it. Never call Transact while already holding native admission (lock order: admission, then SQLite).
func (*Manager) Repository ¶
func (m *Manager) Repository(project, projectDir string) (*sessioncontext.DALRepository, error)
type NativeRepository ¶ added in v0.90.0
type NativeRepository struct {
*sessioncontext.DALRepository
// contains filtered or unexported fields
}
func (*NativeRepository) Transact ¶ added in v0.90.0
func (r *NativeRepository) Transact(ctx context.Context, fn func(sessioncontext.Transaction) error) error
Click to show internal directories.
Click to hide internal directories.