fs

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ModuleName = "fs"

Variables

This section is empty.

Functions

func Enable

func Enable(registry *require.Registry, basePath string)

Enable registers the fs module in the given registry (legacy API)

func EnableWithEventLoop

func EnableWithEventLoop(registry *require.Registry, basePath string, loop *eventloop.EventLoop)

EnableWithEventLoop registers the fs module in the given registry with event loop support

func EnableWithEventLoopAndFS

func EnableWithEventLoopAndFS(registry *require.Registry, fs filesystem.FileSystem, basePath string, loop *eventloop.EventLoop)

EnableWithEventLoopAndFS registers the fs module with custom filesystem support

Types

type FSModule

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

FSModule represents the file system module with event loop support

func NewFSModule

func NewFSModule(basePath string, loop *eventloop.EventLoop) *FSModule

NewFSModule creates a new fs module instance with event loop support

func NewFSModuleWithFS

func NewFSModuleWithFS(fs filesystem.FileSystem, basePath string, loop *eventloop.EventLoop) *FSModule

NewFSModuleWithFS creates a new fs module instance with custom filesystem support

Jump to

Keyboard shortcuts

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