sessionstore

package
v0.158.5 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 15 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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