Code Monkey home page Code Monkey logo

dfuse's People

Contributors

andrepuel avatar baruch avatar cybershadow avatar dsp avatar keeakita avatar lesderid avatar vitalfadeev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dfuse's Issues

fuse_file_info, File Handle, and open()

libfuse provides a fh field in the fuse_file_info struct which is passed to most functions
https://libfuse.github.io/doxygen/structfuse__file__info.html#a45314d0b92a8d4c9de33d996aa59ada8

File handle id. May be filled in by filesystem in create, open, and opendir(). Available in most other file operations on the same file handle.

These are needed if you want to keep data consistent across chunked read()s or write()s where the data might be non-static for the path.
Adding overloads that provide at least the fh and an open() method in the Operations interface, as well as a close() for cleanup, would allow a wider range of applications than just static content per path.

Unable to 'make examples' due to Makefile errors + inclusion errors

I am attempting to following the directions to build the examples as per: https://github.com/dlang-community/dfuse#examples, however the following initial error is thrown:

(dmd-2.093.1)[alex@centos7full dfuse]$ make examples
make: *** No rule to make target `source/c/fuse/common.d', needed by `simplefs'.  Stop.
(dmd-2.093.1)[alex@centos7full dfuse]$ 

If the Makefile is then updated to read:

sources = source/c/fuse/fuse.d source/c/fuse/fuse_common.d source/dfuse/fuse.d

building the example binary still fails, but goes a little further:

(dmd-2.093.1)[alex@centos7full dfuse]$ make examples
dmd -w -debug -g -L-lfuse -ofsimplefs example/simplefs.d source/c/fuse/fuse.d source/c/fuse/fuse_common.d source/dfuse/fuse.d
source/c/fuse/fuse_common.d(11): Error: module fuse_opt is in file 'c/fuse/fuse_opt.d' which cannot be read
import path[0] = /home/alex/dlang/dmd-2.093.1/linux/bin64/../../src/phobos
import path[1] = /home/alex/dlang/dmd-2.093.1/linux/bin64/../../src/druntime/import
make: *** [simplefs] Error 1
(dmd-2.093.1)[alex@centos7full dfuse]$ 

Is it possible for you to update the project so that the examples can be built - or is there something else which I am missing?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.