dirsql 0.3.102 → 0.3.103
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 +8 -2
- package/package.json +11 -11
package/docs/reference/sdk.md
CHANGED
|
@@ -80,7 +80,8 @@ DirSQL::builder()
|
|
|
80
80
|
.root(root) // optional
|
|
81
81
|
.tables(tables) // optional; append one with .table(t)
|
|
82
82
|
.ignore(patterns) // optional
|
|
83
|
-
.config(config_toml_path) // optional
|
|
83
|
+
.config(config_toml_path) // optional; repeatable — call again to
|
|
84
|
+
// merge another config in call order
|
|
84
85
|
.persist(cache_path) // optional; Some(path), or None for the
|
|
85
86
|
// default <root>/.dirsql/cache.db
|
|
86
87
|
.extensions(extensions) // optional; append one with .extension(e)
|
|
@@ -107,7 +108,12 @@ never sets the root.
|
|
|
107
108
|
entries are appended after any programmatic `tables`; its `ignore`
|
|
108
109
|
patterns and `[[dirsql.extension]]` entries are appended likewise. The
|
|
109
110
|
config file does **not** set the index root: with no explicit `root`, the
|
|
110
|
-
index roots at the process cwd.
|
|
111
|
+
index roots at the process cwd. In **Rust**, the builder's `.config()` is
|
|
112
|
+
**repeatable** — call it once per file and the configs merge in call order
|
|
113
|
+
(`[[table]]` / `ignore` / `[[dirsql.extension]]` accumulate; a duplicate
|
|
114
|
+
table name across configs errors), mirroring the CLI's repeatable
|
|
115
|
+
[`-c/--config`](./cli.md#flags). Python and TypeScript currently accept a
|
|
116
|
+
single `config` path.
|
|
111
117
|
- `persist` — Keep the SQLite index on disk between runs (default off:
|
|
112
118
|
ephemeral, rebuilt every startup). The cache lives at
|
|
113
119
|
`<root>/.dirsql/cache.db` by default; on restart, only files whose stat
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dirsql",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.103",
|
|
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.103",
|
|
216
|
+
"@dirsql/lib-linux-arm64-gnu": "0.3.103",
|
|
217
|
+
"@dirsql/lib-darwin-x64": "0.3.103",
|
|
218
|
+
"@dirsql/lib-darwin-arm64": "0.3.103",
|
|
219
|
+
"@dirsql/lib-win32-x64-msvc": "0.3.103",
|
|
220
|
+
"@dirsql/cli-linux-x64-gnu": "0.3.103",
|
|
221
|
+
"@dirsql/cli-linux-arm64-gnu": "0.3.103",
|
|
222
|
+
"@dirsql/cli-darwin-x64": "0.3.103",
|
|
223
|
+
"@dirsql/cli-darwin-arm64": "0.3.103",
|
|
224
|
+
"@dirsql/cli-win32-x64-msvc": "0.3.103"
|
|
225
225
|
}
|
|
226
226
|
}
|