storeutil

package
v0.0.0-...-5f09953 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashObject

func HashObject(obj []byte) string

Types

type Cache

type Cache struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*Cache) HasObject

func (c *Cache) HasObject(id string) bool

func (*Cache) StartUpload

func (c *Cache) StartUpload(id string) UploadHandle

type UploadHandle

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

func (*UploadHandle) Complete

func (u *UploadHandle) Complete()

func (*UploadHandle) Rollback

func (u *UploadHandle) Rollback()

Jump to

Keyboard shortcuts

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