dirsql 0.3.94 → 0.3.96
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/docs/reference/sdk.md +6 -3
- package/package.json +11 -11
package/docs/reference/sdk.md
CHANGED
|
@@ -81,8 +81,8 @@ DirSQL::builder()
|
|
|
81
81
|
.tables(tables) // optional; append one with .table(t)
|
|
82
82
|
.ignore(patterns) // optional
|
|
83
83
|
.config(config_toml_path) // optional
|
|
84
|
-
.persist(
|
|
85
|
-
|
|
84
|
+
.persist(cache_path) // optional; Some(path), or None for the
|
|
85
|
+
// default <root>/.dirsql/cache.db
|
|
86
86
|
.extensions(extensions) // optional; append one with .extension(e)
|
|
87
87
|
.poll_interval(duration) // optional; watch-loop cadence, default 200ms
|
|
88
88
|
.build() // -> Result<DirSQL> (synchronous scan)
|
|
@@ -114,7 +114,10 @@ directory" error.
|
|
|
114
114
|
changed are re-parsed. (The CLI exposes the same switch as the
|
|
115
115
|
[`--persist [PATH]`](./cli.md#server-mode) flag; it is not a config key.)
|
|
116
116
|
- `persist_path` / `persistPath` — Override the cache location. Ignored when
|
|
117
|
-
persistence is off. Constructor values are used as given.
|
|
117
|
+
persistence is off. Constructor values are used as given. In Rust these two
|
|
118
|
+
parameters collapse into a single builder method: `.persist(None)` enables
|
|
119
|
+
persistence at the default location, `.persist(Some(path))` enables it at
|
|
120
|
+
`path`.
|
|
118
121
|
- `extensions` — SQLite extensions to load at startup, before any table
|
|
119
122
|
DDL (enable → load → disable, so SQL `load_extension()` is never
|
|
120
123
|
exposed). Each entry pairs a shared-library `path` with an optional
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dirsql",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.96",
|
|
4
4
|
"description": "Ephemeral SQL index over a local directory",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/thekevinscott/dirsql",
|
|
@@ -212,15 +212,15 @@
|
|
|
212
212
|
]
|
|
213
213
|
},
|
|
214
214
|
"optionalDependencies": {
|
|
215
|
-
"@dirsql/lib-linux-x64-gnu": "0.3.
|
|
216
|
-
"@dirsql/lib-linux-arm64-gnu": "0.3.
|
|
217
|
-
"@dirsql/lib-darwin-x64": "0.3.
|
|
218
|
-
"@dirsql/lib-darwin-arm64": "0.3.
|
|
219
|
-
"@dirsql/lib-win32-x64-msvc": "0.3.
|
|
220
|
-
"@dirsql/cli-linux-x64-gnu": "0.3.
|
|
221
|
-
"@dirsql/cli-linux-arm64-gnu": "0.3.
|
|
222
|
-
"@dirsql/cli-darwin-x64": "0.3.
|
|
223
|
-
"@dirsql/cli-darwin-arm64": "0.3.
|
|
224
|
-
"@dirsql/cli-win32-x64-msvc": "0.3.
|
|
215
|
+
"@dirsql/lib-linux-x64-gnu": "0.3.96",
|
|
216
|
+
"@dirsql/lib-linux-arm64-gnu": "0.3.96",
|
|
217
|
+
"@dirsql/lib-darwin-x64": "0.3.96",
|
|
218
|
+
"@dirsql/lib-darwin-arm64": "0.3.96",
|
|
219
|
+
"@dirsql/lib-win32-x64-msvc": "0.3.96",
|
|
220
|
+
"@dirsql/cli-linux-x64-gnu": "0.3.96",
|
|
221
|
+
"@dirsql/cli-linux-arm64-gnu": "0.3.96",
|
|
222
|
+
"@dirsql/cli-darwin-x64": "0.3.96",
|
|
223
|
+
"@dirsql/cli-darwin-arm64": "0.3.96",
|
|
224
|
+
"@dirsql/cli-win32-x64-msvc": "0.3.96"
|
|
225
225
|
}
|
|
226
226
|
}
|