filtered

package
v11.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFS

func NewFS(underlyingFS fs.FS, whitelist, blacklist []*url.URL) fs.ReadFileFS

NewFS creates a new filtered filesystem that wraps the provided filesystem. The whitelist and blacklist are used to filter the paths that can be accessed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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