node

package
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.

Jump to

Keyboard shortcuts

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