Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tutorial #339

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -18,7 +18,7 @@ and

## Comparison with other FUSE libraries

The FUSE library gained a new, cleaned-up API during a rewrite
The FUSE library gained a new, cleaned-up API v2 during a rewrite
completed in 2019. Find extensive documentation
[here](https://godoc.org/github.com/hanwen/go-fuse/).

Expand Down
4 changes: 2 additions & 2 deletions fs/api.go
Expand Up @@ -9,7 +9,7 @@
// To create a file system, you should first define types for the
// nodes of the file system tree.
//
// struct myNode {
// type myNode struct {
// fs.Inode
// }
//
Expand All @@ -19,7 +19,7 @@
// // Node types should implement some file system operations, eg. Lookup
// var _ = (fs.NodeLookuper)((*myNode)(nil))
//
// func (n *myNode) Lookup(ctx context.Context, name string, ... ) (*Inode, syscall.Errno) {
// func (n *myNode) Lookup(ctx context.Context, name string, ... ) (*fs.Inode, syscall.Errno) {
// ops := myNode{}
// return n.NewInode(ctx, &ops, fs.StableAttr{Mode: syscall.S_IFDIR}), 0
// }
Expand Down