oxfuse 0.2.1
D object-oriented library wrapper for libfuse3
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
The OXFuse library is free software. This library is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.
Official repositories:
OXFuse
OXFuse (Object-oriented eXtension of FUSE) is a binding to libfuse3 for the D programming language.
Features
To create your own file system, you should inherit from the
oxfuse.FileSystem
class and overload any methods (file operations).This library allows to use fourty operations from libfuse (all except
write_buf()
/read_buf()
).The behavior of all non-overloaded functions is determined by FUSE and the OS kernel.
Mounting features require the mount point to be set first using the
setMountPoint()
method of the FileSystem class.The library doesn't contain bindings to functions which parse command line arguments. Parsing is proposed to be done using the D language tools.
Error situations with accompanying messages and
errno
are based onFuseException
and thefe()
function.
Documentation
https://os-18.codeberg.page/oxfuse/
See also
The "examples/" directory contains several different implementations of file systems.
Useful imformation is also available here: https://github.com/libfuse/libfuse/wiki.
Ready-made packages
The page contains information about installing several packages, including OXFuse.
Build from source
Preparing
You must have make and at least one of these compilers:
Also the library needs libfuse3.
Simple building and installing
Creating of static and dynamic libraries for the ldc2 compiler (by default):
make
Installation (root rights may be required):
make install
After that, the library for ldc2 is ready for use.
You can install the library to any other directory:
make install DESTDIR=/home/$USER/sandbox
Uninstalling:
make uninstall
If you installed in an alternative directory:
make uninstall DESTDIR=/home/$USER/sandbox
Specific building
Compiler by default is ldc2. You can choose other compiler (for example, dmd):
make DC=dmd
Installing:
make install DC=dmd
Uninstalling:
make uninstall DC=dmd
Feedback
Questions, suggestions, comments, bugs:
Also use the repository service tools.
- Registered by Eugene 'Vindex' Stulin
- 0.2.1 released 8 days ago
- os-18/oxfuse
- BSL-1.0 or LGPL-3.0+
- Copyright © 2023, Eugene 'Vindex' Stulin
- Authors:
- Dependencies:
- none
- Versions:
-
0.3.0 2024-Nov-17 0.2.1 2024-Nov-10 0.2.0 2024-Nov-10 0.1.2 2023-Oct-28 0.1.1 2023-Feb-19 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
17 downloads total
-
- Score:
- 0.0
- Short URL:
- oxfuse.dub.pm