godoc/util: remove FileSystem. It's in vfs now.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/11555043
This commit is contained in:
Brad Fitzpatrick 2013-07-19 11:54:15 +10:00
parent 0160160d5e
commit 5b72c43fc0
1 changed files with 0 additions and 6 deletions

View File

@ -6,7 +6,6 @@
package util package util
import ( import (
"io"
pathpkg "path" pathpkg "path"
"sync" "sync"
"time" "time"
@ -62,11 +61,6 @@ var textExt = map[string]bool{
".js": false, // must be served raw ".js": false, // must be served raw
} }
// FileSystem is a minimal virtual filesystem.
type FileSystem interface {
Open(name string) (io.ReadCloser, error)
}
// IsTextFile returns whether the file has a known extension indicating // IsTextFile returns whether the file has a known extension indicating
// a text file, or if a significant chunk of the specified file looks like // a text file, or if a significant chunk of the specified file looks like
// correct UTF-8; that is, if it is likely that the file contains human- // correct UTF-8; that is, if it is likely that the file contains human-