model

package
v0.1.23-oss Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Digest

type Digest struct {
	SHA256 string `json:"sha256"`
	Size   int64  `json:"size"`
}

Digest holds the key to querying RBE.

type Node

type Node struct {
	Digest Digest
	Type   NodeType
}

Node holds the RBE-specific metadata for a content-addressed object. This is used in the identity side-channel to map ABFS SHA-1 hashes to RBE digests.

type NodeType

type NodeType int

NodeType represents the type of entry in the RBE ecosystem.

const (
	NodeTypeFile NodeType = iota
	NodeTypeSymlink
	NodeTypeDirectory
	NodeTypeDeepTree
)

func (NodeType) String

func (t NodeType) String() string

Jump to

Keyboard shortcuts

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