fs-shim

module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: BSD-3-Clause

README

fs-shim

License GoDev Reference Go Report Card

This module provides build-dependent implementations of the io/fs and testing/fstest packages, which were introduced in go 1.16.

  • With go 1.16 or later, an implementation which aliases the standard library is used.
  • With an earlier version of go, a forked version of the go 1.16 implementation is used.

This allows the use of io/fs features without immediately requiring go 1.16, but this shim should be removed as soon as it's reasonable to require go 1.16.

Directories

Path Synopsis
internal
io
fs
Package fs defines basic interfaces to a file system.
Package fs defines basic interfaces to a file system.
testing

Jump to

Keyboard shortcuts

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