layout

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Layout

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

func GetByPath

func GetByPath(path string) (*Layout, error)

func New

func New() *Layout

func (*Layout) FileOpen

func (l *Layout) FileOpen(path string, openFlags int, mode int) (int, error)

func (*Layout) Free

func (cl *Layout) Free()

func (*Layout) OstIndex

func (l *Layout) OstIndex(stripe uint64) (uint64, error)

func (*Layout) OstIndexSet

func (l *Layout) OstIndexSet(stripe int, index uint64) error

func (*Layout) Pattern

func (l *Layout) Pattern() uint64

func (*Layout) PatternSet

func (l *Layout) PatternSet(c uint64) error

func (*Layout) StripeCount

func (l *Layout) StripeCount() uint64

func (*Layout) StripeCountSet

func (l *Layout) StripeCountSet(c uint64) error

func (*Layout) StripeSize

func (l *Layout) StripeSize() uint64

func (*Layout) StripeSizeSet

func (l *Layout) StripeSizeSet(c uint64) error

type LayoutError

type LayoutError error

Jump to

Keyboard shortcuts

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