storage

package
v5.16.2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2025 License: Apache-2.0 Imports: 3 Imported by: 177

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrReferenceHasChanged = errors.New("reference has changed concurrently")

Functions

This section is empty.

Types

type ModuleStorer

type ModuleStorer interface {
	// Module returns a Storer representing a submodule, if not exists returns a
	// new empty Storer is returned
	Module(name string) (Storer, error)
}

ModuleStorer allows interact with the modules' Storers

type Storer

Storer is a generic storage of objects, references and any information related to a particular repository. The package github.com/go-git/go-git/v5/storage contains two implementation a filesystem base implementation (such as `.git`) and a memory implementations being ephemeral

Directories

Path Synopsis
Package filesystem is a storage backend base on filesystems
Package filesystem is a storage backend base on filesystems
dotgit
https://github.com/git/git/blob/master/Documentation/gitrepository-layout.txt
https://github.com/git/git/blob/master/Documentation/gitrepository-layout.txt
Package memory is a storage backend base on memory
Package memory is a storage backend base on memory
Package transactional is a transactional implementation of git.Storer, it demux the write and read operation of two separate storers, allowing to merge content calling Storage.Commit.
Package transactional is a transactional implementation of git.Storer, it demux the write and read operation of two separate storers, allowing to merge content calling Storage.Commit.

Jump to

Keyboard shortcuts

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

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy