allocationchange

package
v0.0.0-...-8a32afe Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Types and methods related to file operations (rename, move, delete, etc).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocationChange

type AllocationChange interface {
	ProcessChange(rootRef *fileref.Ref, fileIDMeta map[string]string) error
	GetAffectedPath() []string
	GetSize() int64
}

type AllocationChangeV2

type AllocationChangeV2 interface {
	ProcessChangeV2(trie *wmpt.WeightedMerkleTrie, changeIndex uint64) error
	GetLookupHash(changeIndex uint64) []string
}

type EmptyFileChange

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

func (*EmptyFileChange) GetAffectedPath

func (ch *EmptyFileChange) GetAffectedPath() []string

func (*EmptyFileChange) GetSize

func (ch *EmptyFileChange) GetSize() int64

func (*EmptyFileChange) ProcessChange

func (ch *EmptyFileChange) ProcessChange(rootRef *fileref.Ref, _ map[string]string) (err error)

Jump to

Keyboard shortcuts

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