sessions

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
}

Factory ...

func (*Factory) OpenSession

func (inst *Factory) OpenSession(profile store.Repository) (store.Session, error)

OpenSession ...

type PackCache added in v0.0.8

type PackCache interface {
	Query(q *PackQuery) (ok bool)
}

PackCache ...

func NewPackCacheChain added in v0.0.8

func NewPackCacheChain(size int) PackCache

NewPackCacheChain ...

type PackHolder added in v0.0.8

type PackHolder struct {
	// contains filtered or unexported fields
}

PackHolder ...

type PackHolderKey added in v0.0.8

type PackHolderKey string

PackHolderKey ...

type PackQuery added in v0.0.8

type PackQuery struct {

	// in
	Session store.Session
	PID     git.PackID
	OID     git.ObjectID

	// out
	ResultHolder *PackHolder
	ResultItem   *git.PackIndexItem
	Error        error
	// contains filtered or unexported fields
}

PackQuery ...

type PackQuerySN added in v0.0.8

type PackQuerySN int64

PackQuerySN 序列号,表示查询的次序

Jump to

Keyboard shortcuts

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