posinfo

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package posinfo wraps offset information used by ipfs filestore nodes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilestoreNode

type FilestoreNode struct {
	ipld.Node
	PosInfo *PosInfo
}

FilestoreNode is an ipld.Node which arries PosInfo with it allowing to map it directly to a filesystem object.

type PosInfo

type PosInfo struct {
	Offset   uint64
	FullPath string
	Stat     os.FileInfo // can be nil
}

PosInfo stores information about the file offset, its path and stat.

Jump to

Keyboard shortcuts

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