Skip to content

v3.0.0

@mxmlnkn mxmlnkn tagged this 01 Aug 13:58
Version 2 was skipped because the git tags would have clashed with the original fusepy tags.

API

 - `Operation.__call__` is not used anymore. Use decorators instead, or check `LoggingMixIn` as to how to overwrite
   `__getattribute__`. This is the biggest change requiring an API break and was motivated by the type support.
 - Add type-hints. Do not check types at runtime! They may change in a major version,
   .e.g., `List` -> `list` -> `Sequence` -> `Iterable`.
 - `readdir` may now also return only a triple of (name, mode, offset).
 - `init_with_config` arguments are now always structs. Prior, they were ctypes pointers to the struct.
 - As the old warning stated, `use_ns` will be removed in version 4 and all timestamps will use nanoseconds then.
   Set `FUSE.use_ns = True` and then return only times as integers representing nanoseconds and expect returned
   times as such.

Features

 - Add `overrides` decorator.
 - Add `log_callback` decorator.
Assets 2
Loading