@delali/sirannon-vfs-linux-x64 0.0.0 → 0.2.3-next.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -0
- package/musl/sirannonvfs.so +0 -0
- package/package.json +1 -1
- package/sirannonvfs.so +0 -0
package/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# @delali/sirannon-vfs-linux-x64
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@delali/sirannon-vfs-linux-x64)
|
|
4
|
+
[](https://github.com/assetcorp/sirannon-db/blob/main/LICENSE)
|
|
5
|
+
|
|
6
|
+
This package holds one compiled SQLite extension, built for Linux on x86-64. The extension sends each piece of a Sirannon backup to the destination you supply, so a full copy writes no local file.
|
|
7
|
+
|
|
8
|
+
## Install
|
|
9
|
+
|
|
10
|
+
You install the library, and npm installs this package with it:
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
pnpm add -E @delali/sirannon-db
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
[`@delali/sirannon-db`](https://www.npmjs.com/package/@delali/sirannon-db) lists all six platform packages as optional dependencies, so npm installs only the one whose `os` and `cpu` match your host. The release workflow publishes this package at the library's version, and the library pins that version exactly.
|
|
17
|
+
|
|
18
|
+
## What it does
|
|
19
|
+
|
|
20
|
+
The extension registers a SQLite virtual file system named `sirannon`. Sirannon opens every copy through that file system, so the bytes reach no file on your disk. It takes each piece as SQLite writes it and passes that piece to your destination. Where this binary is absent, Sirannon reports `streamedCopy: false` and copies through a local file instead. Streaming also needs a runtime that parses URI file names, which the [backup documentation](https://github.com/assetcorp/sirannon-db/blob/main/docs/core.md) explains.
|
|
21
|
+
|
|
22
|
+
This package holds two builds, one for glibc and one for musl, because a shared object built against one C library cannot load against the other. Sirannon picks the musl build where the host reports no glibc runtime.
|
|
23
|
+
|
|
24
|
+
## Licence
|
|
25
|
+
|
|
26
|
+
This package is published under the Apache-2.0 licence. [assetcorp/sirannon-db](https://github.com/assetcorp/sirannon-db) holds the C source, the build script, and the tests.
|
package/musl/sirannonvfs.so
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@delali/sirannon-vfs-linux-x64",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.3-next.34",
|
|
4
4
|
"description": "Compiled SQLite extension that streams a Sirannon backup to a caller-supplied destination, for Linux on x86-64.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Delali (https://sondelali.com)",
|
package/sirannonvfs.so
CHANGED
|
Binary file
|