thinkgo: github.com/thinkoner/thinkgo/filesystem Index | Files

package filesystem

import "github.com/thinkoner/thinkgo/filesystem"

Index

Package Files

fs.go utils.go

func Exists Uses

func Exists(p ...string) (bool, error)

func Get Uses

func Get(path string) ([]byte, error)

func ModTime Uses

func ModTime(path string) (time.Time, error)

func NewFileFileSystem Uses

func NewFileFileSystem(root string, listDirectory bool) http.FileSystem

func Put Uses

func Put(path string, data string) error

type JustFileSystem Uses

type JustFileSystem struct {
    // contains filtered or unexported fields
}

func (JustFileSystem) Open Uses

func (fs JustFileSystem) Open(name string) (http.File, error)

Package filesystem imports 8 packages (graph) and is imported by 3 packages. Updated 2019-02-15. Refresh now. Tools for package owners.