tools: golang.org/x/tools/godoc/vfs/mapfs Index | Files

package mapfs

import "golang.org/x/tools/godoc/vfs/mapfs"

Package mapfs file provides an implementation of the FileSystem interface based on the contents of a map[string]string.

Index

Package Files

mapfs.go

func New Uses

func New(m map[string]string) vfs.FileSystem

New returns a new FileSystem from the provided map. Map keys should be forward slash-separated pathnames and not contain a leading slash.

Package mapfs imports 7 packages (graph) and is imported by 16 packages. Updated 2017-10-13. Refresh now. Tools for package owners.