nativefs

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package nativefs contains compiler-owned host filesystem operations. The same source is embedded into emitted Go projects and used by the evaluator.

Index

Constants

View Source
const ModulePath = "golang.org/x/sys"
View Source
const ModuleVersion = "v0.45.0"

Variables

View Source
var (
	ErrBusy        = errors.New("lock is already held")
	ErrUnsupported = errors.New("host lock operation is unsupported")
)

Functions

func Sources

func Sources() map[string][]byte

Sources returns independent copies of the fixed compiler-owned support files. Callers cannot supply paths or register additional native authority.

func TryLock

func TryLock(_ *os.Root, _ string) (*os.File, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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