Documentation ¶
Overview ¶
Package bfsfs abstracts local file system.
When imported, it registers a global `file://` scheme resolver and can be used like:
import ( "github.com/bsm/bfs" _ "github.com/bsm/bfs/bfsfs" ) func main() { ctx := context.Background() u, _ := url.Parse("file://path/to/file.ext?tmpdir=path/to/tmp/dir") bucket, _ := bfs.Resolve(ctx, u) f, _ := bucket.Open(ctx) ... }
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.