Thanks to visit codestin.com
Credit goes to github.com

Skip to content
forked from PondWader/fuse.zig

FUSE filesystem daemon library in pure Zig.

License

Notifications You must be signed in to change notification settings

pinyin/fuse.zig

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fuse.zig

Zig FUSE daemon library.

Create and mount userspace file systems in Linux with Zig. Learn more about FUSE on the Linux kernel website.

Notes

  • This library is only targetted at Linux for now but I'm open to contributions for other platforms.

Examples

hello.zig - a simple "Hello world" file system with read and write examples.

To run an example, clone this repository and run zig build example-<name> -- <args> e.g. mkdir /tmp/hello && zig build example-hello -- /tmp/hello.

Installing

  1. Fetch fuse.zig:
zig fetch --save "git+https://github.com/PondWader/fuse.zig#main"
  1. Add a fusez import in your build.zig:
const fusez = b.dependency("fusez", .{
    .target = target,
    .optimize = optimize,
});

exe.root_module.addImport("fusez", fusez.module("fusez"));

About

FUSE filesystem daemon library in pure Zig.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Zig 100.0%