Skip to content

Conversation

@bufdev
Copy link

@bufdev bufdev commented Jan 29, 2016

Signed-off-by: Peter Edge [email protected]

This is the start of the reference example I talked about in #120. It needs work, and actually for the parts that are implemented, I'd love advice about the optimal way to do it. But that's sort of the point - new users of bazil.org/fuse could use such an example.

Also similar to #83

Signed-off-by: Peter Edge <[email protected]>
}

func (d *dir) Mkdir(ctx context.Context, request *fuse.MkdirRequest) (_ fs.Node, retErr error) {
if err := os.Mkdir(request.Name, request.Mode); err != nil {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be filepath.Join(path, request.Name)

@Jille
Copy link

Jille commented Jun 29, 2016

I've copied this and did some improvements/bugfixes in #145

@bufdev bufdev closed this Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants