Skip to content

Add support for file descriptors since nodejs supports those. #172

@kelvinhammond

Description

@kelvinhammond

Add support for file descriptors since nodejs supports those.

We currently don't support Archive(int fd) (fd == 'file descriptor') and similar constructors.
Nodejs supports file descriptors.
Add support for it.

Possibly Helpful Resources

See diff below for include/zim//archive.h
Diff: https://github.com/openzim/libzim/compare/9.3.0...9.4.0?diff=unified&w=#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03f

Or just look in include/zim/archive.h

Sub-issues

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions