forked from mirror/afero
Update README.md File interface and docs badge
Add a GoDocs badge Change the badges to .svg Add Sync() to File interface
This commit is contained in:
parent
33ecf3dc6b
commit
1407a13a63
10
README.md
10
README.md
|
@ -2,7 +2,7 @@
|
|||
|
||||
A FileSystem Abstraction System for Go
|
||||
|
||||
[![Build Status](https://travis-ci.org/spf13/afero.png)](https://travis-ci.org/spf13/afero)
|
||||
[![Build Status](https://travis-ci.org/spf13/afero.svg)](https://travis-ci.org/spf13/afero) [![GoDoc](https://godoc.org/github.com/spf13/afero?status.svg)](https://godoc.org/github.com/spf13/afero)
|
||||
|
||||
## Overview
|
||||
|
||||
|
@ -124,12 +124,14 @@ File Interfaces and Methods Available:
|
|||
io.Writer
|
||||
io.WriterAt
|
||||
|
||||
Stat() : os.FileInfo, error
|
||||
Name() : string
|
||||
Readdir(count int) : []os.FileInfo, error
|
||||
Readdirnames(n int) : []string, error
|
||||
WriteString(s string) : ret int, err error
|
||||
Stat() : os.FileInfo, error
|
||||
Sync() : error
|
||||
Truncate(size int64) : error
|
||||
Name() : string
|
||||
WriteString(s string) : ret int, err error
|
||||
|
||||
|
||||
In our case we would call `AppFs.Open()` as an example because that is how we’ve defined to
|
||||
access our filesystem.
|
||||
|
|
Loading…
Reference in New Issue