gatefs

package
Version: v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: BSD-3-Clause Imports: 3 Imported by: 34

Documentation

Overview

Package gatefs provides an implementation of the FileSystem interface that wraps another FileSystem and limits its concurrency.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(fs vfs.FileSystem, gateCh chan bool) vfs.FileSystem

New returns a new FileSystem that delegates to fs. If gateCh is non-nil and buffered, it's used as a gate to limit concurrency on calls to fs.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL