chain

package
v2.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package chain provides a list of probers for different filesystems and volume managers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chain

type Chain []probe.Prober

Chain is a list of probers.

func Default

func Default() Chain

Default returns a list of probers for the filesystems and volume managers.

func (Chain) MagicMatches

func (chain Chain) MagicMatches(buf []byte) []probe.MagicMatch

MagicMatches returns the prober that matches the magic value in the buffer.

func (Chain) MaxMagicSize

func (chain Chain) MaxMagicSize() int

MaxMagicSize returns the maximum size of the magic value in the chain.

Jump to

Keyboard shortcuts

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