filesystem

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package filesystem provides interfaces and constants required for filesystem implementations. All interesting implementations are in subpackages, e.g. github.com/dave/diskfs/filesystem/fat32

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File interface {
	io.ReadWriteSeeker
}

File a reference to a single file on disk

type FileSystem

type FileSystem interface {
	Type() Type
	Mkdir(string) error
	ReadDir(string) ([]os.FileInfo, error)
	OpenFile(string, int) (File, error)
}

FileSystem is a reference to a single filesystem on a disk

type Type

type Type int

Type represents the type of disk this is

const (
	// TypeFat32 is a FAT32 compatible filesystem
	TypeFat32 Type = iota
	// TypeISO9660 is an iso filesystem
	TypeISO9660
)

Directories

Path Synopsis
Package fat32 provides utilities to interact with, manipulate and create a FAT32 filesystem on a block device or a disk image.
Package fat32 provides utilities to interact with, manipulate and create a FAT32 filesystem on a block device or a disk image.
Package iso9660 provides utilities to interact with, manipulate and create an iso9660 filesystem on a block device or a disk image.
Package iso9660 provides utilities to interact with, manipulate and create an iso9660 filesystem on a block device or a disk image.

Jump to

Keyboard shortcuts

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