ramdisk

package
v0.0.0-...-bbc9ce3 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ramdisk

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

func New

func New(size int) (*Ramdisk, error)

New constructs and creates a ramdisk of size bytes at the given path.

func (*Ramdisk) Destroy

func (r *Ramdisk) Destroy() error

func (*Ramdisk) Open

func (r *Ramdisk) Open(path string, flags int, mode uint32) (*os.File, error)

func (*Ramdisk) StartBlobfs

func (r *Ramdisk) StartBlobfs() error

Jump to

Keyboard shortcuts

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