sessionstore

package
v0.145.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

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

func ResolvePrivateDirectory(root string) (string, error)

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 New

func New(root string) (*Manager, error)

func (*Manager) Close

func (m *Manager) Close() error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL