registryfs

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: MIT Imports: 2 Imported by: 1

Documentation

Overview

Package registryfs provides an io/fs implementation to access the Windows Registry.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS

type FS struct{}

FS implements a dummy file system for Windows Registries.

func New

func New() *FS

New creates a new dummy registry FS.

func (*FS) Name

func (*FS) Name() (name string)

Name returns the name of the file system.

func (*FS) Open

func (m *FS) Open(name string) (item fs.File, err error)

Open fails for non Windows operating systems.

func (*FS) Stat

func (m *FS) Stat(name string) (fs.FileInfo, error)

Stat fails for non Windows operating systems.

Jump to

Keyboard shortcuts

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