pluginfs

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package plugin provides a virtual filesystem that merges your local application directory structure with all required modules that start with bud-.

When there are conflicts, bud prefers your local files over module files. When there are conflicts between modules, bud prioritizes modules that are alphanumerically higher. For example: github.com/livebud/bud-tailwind < github.com/livebud/bud-preflight.

The plugin system doesn't recursively load or merge indirect dependencies.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(module *gomod.Module) (fs.FS, error)

Load the virtual filesytem

Types

type FS

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

func (*FS) Open

func (f *FS) Open(name string) (fs.File, error)

Jump to

Keyboard shortcuts

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