filesystem

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: MPL-2.0 Imports: 12 Imported by: 1

Documentation

Overview

Package filesystem provides functions for working with common filesystems.

Index

Constants

View Source
const (
	// Unknown filesystem.
	Unknown string = "unknown"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SuperBlocker

type SuperBlocker interface {
	Is() bool
	Offset() int64
	Type() string
	Encrypted() bool
}

SuperBlocker describes the requirements for file system super blocks.

func Probe

func Probe(path string) (SuperBlocker, error)

Probe checks partition type.

Directories

Path Synopsis
Package ext4 provides functions for working with the ext filesystems.
Package ext4 provides functions for working with the ext filesystems.
Package iso9660 provides functions for working with the ISO9660 filesystem.
Package iso9660 provides functions for working with the ISO9660 filesystem.
Package luks provides functions for working with the LUKS2 encrypted filesystem.
Package luks provides functions for working with the LUKS2 encrypted filesystem.
Package msdos provides functions for working with the FAT12/16 filesystems.
Package msdos provides functions for working with the FAT12/16 filesystems.
Package vfat provides functions for working with the VFAT filesystem.
Package vfat provides functions for working with the VFAT filesystem.
Package xfs provides functions for working with the XFS filesystem.
Package xfs provides functions for working with the XFS filesystem.

Jump to

Keyboard shortcuts

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