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

osfs example #124

Closed
wants to merge 1 commit into from
Closed

osfs example #124

wants to merge 1 commit into from

Conversation

bufdev
Copy link

@bufdev bufdev commented Jan 29, 2016

Signed-off-by: Peter Edge peter.edge@gmail.com

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 <peter.edge@gmail.com>
}

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