Skip to content

file_class should have a way to access the fuse object #91

Open

Description

@qhe

file_class instance may need to access the main fuse object for state information (e.g. database connection, network connection etc.). But the nested class doesn't seem to have any easy way to do that. This is the case in example/xmp.py. And there doesn't seem to be an alternative way to use the stateful file API.

Activity

  1. qhe commented on Jan 31, 2025

    @qhe
    Author

    I can certainly just add the file handle at the last argument of file callbacks. That's what I eventually did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions