node

package
Version: v0.0.0-...-c884529 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Path string // File path
	Size int64  // File size
	Hash string // String form of SHA1 hash
}

Node type

func (*Node) CalculateHash

func (n *Node) CalculateHash() error

CalculateHash calculates SHA1 value of the Node.

func (*Node) Value

func (n *Node) Value() interface{}

Value returns node as a generic value.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL