dirsql 0.4.104__tar.gz → 0.4.106__tar.gz
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.
- {dirsql-0.4.104 → dirsql-0.4.106}/Cargo.lock +2 -2
- {dirsql-0.4.104 → dirsql-0.4.106}/PKG-INFO +1 -1
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/Cargo.toml +1 -1
- dirsql-0.4.106/packages/python/e2e-attestations/bot-1457-incremental-refresh-1008.json +7 -0
- dirsql-0.4.106/packages/python/e2e-attestations/bot-1459-rescan-on-overflow-1008.json +7 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/Cargo.toml +1 -1
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/db.rs +303 -12
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/lib.rs +346 -30
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/watcher.rs +35 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/Cargo.toml +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/README.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/dirsql/__init__.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/dirsql/_async.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/dirsql/_dirsql.pyi +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/dirsql/cli/__init__.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/dirsql/cli/discover_plugins/__init__.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/dirsql/cli/discover_plugins/discovered_fragments.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/dirsql/cli/discover_plugins/discovery_disabled.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/dirsql/cli/discover_plugins/fragment_path.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/dirsql/cli/discover_plugins/with_discovered_plugins.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/dirsql/cli/main.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/dirsql/cli/resolve_config_extensions.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/dirsql/plan_entry_path.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/dirsql/py.typed +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/dirsql/read_config.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/dirsql/resolve_configs_extension_specs.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/dirsql/resolve_extension.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/dirsql/resolve_package.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/.claude/CLAUDE.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/.vitepress/config.ts +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/.vitepress/theme/index.ts +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/.vitepress/theme/lang.ts +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/AGENTS.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/context/.gitattributes +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/context/recipes.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/context/troubleshooting.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/context/usage.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/explanation.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/getting-started.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/howto/agent-skill.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/howto/columns-from-paths.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/howto/define-tables.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/howto/embed.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/howto/extract-from-contents.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/howto/load-extension.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/howto/parse-files-into-columns.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/howto/persist.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/howto/query-json.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/howto/query-without-config.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/howto/react-to-changes.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/howto/search-by-meaning.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/howto/search-indexes.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/howto/skip-files.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/howto/write-a-plugin.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/index.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/package.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/plugins.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/pnpm-lock.yaml +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/pnpm-workspace.yaml +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/reference/cli.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/reference/columns.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/reference/config.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/reference/glob.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/reference/hooks.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/reference/http-api.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/reference/path-tables.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/docs/reference/sdk.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/CHANGELOG.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/MIGRATIONS.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/README.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-07-13-drop-cwd-config-auto-detect.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-07-13-plugin-discovery.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-07-13-rename-extract-to-on-file.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-07-13-repeatable-config.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-07-13-sdk-default-baked-in-config.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-07-20-drop-implicit-files-table.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-07-21-remove-glob-captures.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-07-24-hookless-table-config-error.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-07-24-remove-stat-fact-injection.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-07-29-restore-python-310.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-08-02-release-profile.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-08-02-scan-failures.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-08-03-discovery-ext-resolution.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-08-03-manylinux-dynamic-binary.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-08-03-python-no-ignore.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-08-04-cast-lints.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-08-04-cli-in-process.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-08-20-curtaincall-dev-dependency.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-08-20-declared-table-name.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-09-04-config-paths-from-argv-module.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-09-05-config-extension-loader-split.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-09-05-resolve-config-extensions-split.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-09-05-resolve-extension-split.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-09-09-launcher-config-path-scan.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-09-17-extension-resolution-via-core.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-09-18-export-scan-failure.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-09-18-flatten-row-event-in-core.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-09-18-programmatic-extension-plan.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-09-20-sigint-ends-a-run-in-progress.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-09-24-query-rows-in-projection-order.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-02-readme-docs-host.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-03-one-glob-rule-for-config-globs.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-03-path-table-directory-one-level.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-04-path-table-dotfiles-hidden.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-05-brace-groups-follow-bash.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-05-cli-context.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-05-gitignore-requires-repo.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-05-path-table-node-modules-named.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-05-path-table-symlinks.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-05-path-table-trailing-slash.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-05-unbalanced-brackets-literal.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-06-config-braces.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-06-config-directory.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-06-config-dotnames.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-06-config-gitignore.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-06-config-globs-anchor-at-the-config.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-06-config-links.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-06-one-glob-compiler.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-06-plugin-no-default-records.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-06-watch-broadcast.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-06-zero-match-config-table-warning.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-07-bracket-slash-literal.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-07-dotdot-and-double-slashes.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-07-dotdot-as-written.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-07-glob-walks-node-modules.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-07-literal-gitignore.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-07-on-file-ndjson.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-07-parallel-hooks.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-07-persist-cache-outside-root.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-07-posix-classes-unicode.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-07-spread-few-large-files.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/2026-10-08-small-walks-stay-on-one-thread.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/changelog.d/README.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/conftest.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/.claude/CLAUDE.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/.vitepress/config.ts +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/.vitepress/theme/index.ts +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/.vitepress/theme/lang.ts +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/AGENTS.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/context/.gitattributes +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/context/recipes.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/context/troubleshooting.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/context/usage.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/explanation.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/getting-started.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/howto/agent-skill.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/howto/columns-from-paths.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/howto/define-tables.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/howto/embed.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/howto/extract-from-contents.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/howto/load-extension.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/howto/parse-files-into-columns.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/howto/persist.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/howto/query-json.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/howto/query-without-config.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/howto/react-to-changes.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/howto/search-by-meaning.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/howto/search-indexes.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/howto/skip-files.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/howto/write-a-plugin.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/index.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/package.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/plugins.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/pnpm-lock.yaml +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/pnpm-workspace.yaml +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/reference/cli.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/reference/columns.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/reference/config.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/reference/glob.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/reference/hooks.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/reference/http-api.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/reference/path-tables.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/docs/reference/sdk.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1334-listing-exemptions.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1397-watch-broadcast.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1398-inotify-error.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1399-server-cors.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1401-watch-scope.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1407-child-place-depth.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1414-stat-speed.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1415-server-speed.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1418-node-modules.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1419-dotdot-slashes.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1420-bracket-slash.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1421-posix-unicode.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1422-literal-gitignore.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1426-walk-spawn-threshold-1008.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1428-ndjson-hooks.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1429-parallel-hooks.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1430-dotdot-as-written.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1431-persist-cache-dir.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1437-test-cache-isolation.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1440-fix-main-build.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1448-wildcard-ignored-prefix.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1451-named-dir-never-hidden.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-1454-split-few-files.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/bot-fix-main-place-depth-20261007.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/cc-keen-knuth-f11gyq.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1056-py-ofpf9.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1066-p1-resolve-extension.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1078-argv-config-paths-core.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1079-p2-resolve-config-extensions.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1080-share-vtab-scaffolding.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1081-indicatif-progress.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1096-watch-moved-dir.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1109-watch-moved-out.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1119-ext-plan.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1120-py-ext.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1122-ext-cleanup.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1130-codec-crates.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1131-flatten-row-event.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1139-sse-flatten.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1140-scan-failure-export.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1148-clippy-all-targets.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1164-sigint-fatal.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1170-projection-order.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1172-on-file-path.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1173-py-projection-order.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1184-win-rel-paths.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1185-win-abs-table-names.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1186-win-test-harness.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1196-join-index.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1199-glob-prefix.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1201-single-walk.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1204-embed-batch.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1207-win-argv-quote.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1208-win-nonverbatim-paths.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1215-on-file-batch.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1216-on-file-cleanup.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1223-config-glob-rule.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1223-dir-one-level.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1225-plugin-no-default.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1226-stale-docs.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1232-anchor-plumbing.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1232-config-anchor.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1232-multi-watch.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1232-zero-match.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1238-parallel-walk.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1241-content-prefetch.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1243-ingest-perf.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1249-dotfiles.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1256-symlinks.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1257-trailing-slash.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1258-config-braces.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1258-config-directory.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1258-config-dotnames.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1258-config-gitignore.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1258-config-links.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1258-one-pattern.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1262-brace-literal.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1264-context.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1267-posix-classes.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1268-unbalanced-brackets.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1269-utf8-chars.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1271-node-modules-named.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1272-ancestor-gitignore.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1273-walk-prune.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1285-ingest-fast.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1286-nested-repo.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1305-glob-speed.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1308-glob-speed.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1310-glob-speed.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1311-glob-speed.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1312-glob-speed.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1318-lazy-stat.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1320-walk-speed.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1322-walk-readdir.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1325-parallel-walk.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1326-stream-rows.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1330-python-dirsql-patch.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1330-python-extensions-patch.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1330-scanner-effects.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1330-scanner-gitignore.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1330-vtab-prefetch-flag.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1330-vtab-read.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-1351-dot-dirs.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-819-oneshot-timeout.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-827-unquote-doubled-quotes.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-epic-953-slice2-reedline.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-epic-953-slice3-format.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-epic-953-stacked-prs-x59wm3.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-github-issue-825-e4mhhp.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-issue-951-0eease.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-issue-962-0jjrfv.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-issue-986-red-test-e7sjrb.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-tackle-1034-cachesplit.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-tackle-1042-py12.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-tackle-956-xzen74.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-tackle-957-lrm0z6-worker-calls.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-tackle-957-lrm0z6.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/e2e-attestations/claude-tackle-975-n8mc2h.json +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-07-13-drop-cwd-config-auto-detect.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-07-13-rename-extract-to-on-file.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-07-13-sdk-default-baked-in-config.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-07-20-drop-implicit-files-table.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-07-21-remove-glob-captures.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-07-24-hookless-table-config-error.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-07-24-remove-stat-fact-injection.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-07-29-restore-python-310.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-08-04-cli-in-process.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-08-20-declared-table-name.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-09-20-sigint-ends-a-run-in-progress.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-09-24-query-rows-in-projection-order.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-02-readme-docs-host.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-03-one-glob-rule-for-config-globs.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-03-path-table-directory-one-level.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-04-path-table-dotfiles-hidden.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-05-brace-groups-follow-bash.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-05-cli-context.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-05-gitignore-requires-repo.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-05-path-table-node-modules-named.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-05-path-table-symlinks.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-05-path-table-trailing-slash.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-05-unbalanced-brackets-literal.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-06-config-braces.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-06-config-directory.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-06-config-dotnames.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-06-config-gitignore.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-06-config-globs-anchor-at-the-config.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-06-config-links.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-06-one-glob-compiler.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-06-plugin-no-default-records.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-06-watch-broadcast.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-06-zero-match-config-table-warning.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-07-bracket-slash-literal.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-07-dotdot-and-double-slashes.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-07-dotdot-as-written.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-07-glob-walks-node-modules.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-07-literal-gitignore.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-07-on-file-ndjson.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-07-parallel-hooks.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-07-persist-cache-outside-root.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-07-posix-classes-unicode.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-07-spread-few-large-files.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/2026-10-08-small-walks-stay-on-one-thread.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/migrations.d/README.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/src/lib.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/testing-conventions.toml +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/tests/__init__.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/tests/conftest.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/tests/e2e/__init__.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/tests/e2e/fixtures/dirsql_plugin_fixture/__init__.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/tests/e2e/fixtures/dirsql_plugin_fixture/dirsql.toml +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/tests/e2e/speed_of_light.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/tests/integration/__init__.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/tests/integration/binding/__init__.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/python/tests/integration/hermetic/__init__.py +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/CHANGELOG.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/MIGRATIONS.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/README.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/benches/db_bench.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/benches/differ_bench.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/benches/matcher_bench.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/benches/scanner_bench.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/context/.gitattributes +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/context/recipes.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/context/troubleshooting.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/context/usage.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/explanation.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/getting-started.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/howto/agent-skill.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/howto/columns-from-paths.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/howto/define-tables.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/howto/embed.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/howto/extract-from-contents.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/howto/load-extension.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/howto/parse-files-into-columns.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/howto/persist.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/howto/query-json.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/howto/query-without-config.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/howto/react-to-changes.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/howto/search-by-meaning.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/howto/search-indexes.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/howto/skip-files.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/howto/write-a-plugin.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/index.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/plugins.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/reference/cli.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/reference/columns.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/reference/config.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/reference/glob.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/reference/hooks.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/reference/http-api.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/reference/path-tables.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/docs/reference/sdk.md +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/bin/dirsql.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/brace.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/cli/context.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/cli/execute.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/cli/init.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/cli/mod.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/cli/repl.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/cli/router.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/cli/run.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/cli/serialize.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/cli/server.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/cli/table.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/command.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/config.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/default_config.toml +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/differ.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/extension_resolution.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/functions.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/infer.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/launcher.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/listing.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/matcher.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/on_file.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/parsed_vtab.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/path_table.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/persist.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/posix_class.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/progress.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/row_event_flat.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/scanner.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/sql_literal.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/tree_walk.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/vtab.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/packages/rust/src/vtab_scaffold.rs +0 -0
- {dirsql-0.4.104 → dirsql-0.4.106}/pyproject.toml +0 -0
|
@@ -573,7 +573,7 @@ dependencies = [
|
|
|
573
573
|
|
|
574
574
|
[[package]]
|
|
575
575
|
name = "dirsql"
|
|
576
|
-
version = "0.4.
|
|
576
|
+
version = "0.4.106"
|
|
577
577
|
dependencies = [
|
|
578
578
|
"assert_cmd",
|
|
579
579
|
"axum",
|
|
@@ -625,7 +625,7 @@ dependencies = [
|
|
|
625
625
|
|
|
626
626
|
[[package]]
|
|
627
627
|
name = "dirsql-py-ext"
|
|
628
|
-
version = "0.4.
|
|
628
|
+
version = "0.4.106"
|
|
629
629
|
dependencies = [
|
|
630
630
|
"dirsql",
|
|
631
631
|
"pyo3",
|
|
@@ -4,7 +4,7 @@ name = "dirsql-py-ext"
|
|
|
4
4
|
# pypi/maturin handler can rewrite it via `write-version` before
|
|
5
5
|
# `maturin build`. `pyproject.toml` declares `dynamic = ["version"]`
|
|
6
6
|
# and maturin reads this field. Mirrors `packages/rust/Cargo.toml`.
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.106"
|
|
8
8
|
# abi3 note: the `abi3-py310` pyo3 feature (below) builds ONE stable-ABI
|
|
9
9
|
# `cp310-abi3` wheel per platform that loads on every CPython >= 3.10
|
|
10
10
|
# (matching `pyproject.toml`'s `requires-python = ">=3.10"`), instead of
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"command": "uv run python -m pytest tests/e2e/on_file_query_test.py tests/e2e/query_contract_test.py tests/e2e/use_case_transcripts_test.py -x -q",
|
|
3
|
+
"ran_at": 1791462122,
|
|
4
|
+
"exit_code": 0,
|
|
5
|
+
"commit": "e59418c942479166b7edd1a1587ed559574c60b7",
|
|
6
|
+
"branch": "bot/1457-incremental-refresh-1008"
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"command": "uv run python -m pytest tests/e2e/on_file_query_test.py tests/e2e/query_contract_test.py tests/e2e/use_case_notebook_test.py -x -q",
|
|
3
|
+
"ran_at": 1791464863,
|
|
4
|
+
"exit_code": 0,
|
|
5
|
+
"commit": "480d3e491818207f55eb2d8dc6c95498dc27afab",
|
|
6
|
+
"branch": "bot/1459-rescan-on-overflow-1008"
|
|
7
|
+
}
|
|
@@ -6,7 +6,7 @@ description = "Ephemeral SQL index over a local directory"
|
|
|
6
6
|
# version stays for the binding crates (publish = false). The literal
|
|
7
7
|
# intentionally lags the published version: putitoutthere rewrites it to
|
|
8
8
|
# the planned release version at build time and never commits it back.
|
|
9
|
-
version = "0.4.
|
|
9
|
+
version = "0.4.106"
|
|
10
10
|
edition.workspace = true
|
|
11
11
|
# Literal `license` (not `license.workspace = true`) because
|
|
12
12
|
# putitoutthere's preflight check reads `[package].license` directly
|
|
@@ -266,6 +266,28 @@ pub fn ensure_internal_rows_table(conn: &Connection) -> rusqlite::Result<()> {
|
|
|
266
266
|
)
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
+
fn insert_sql(table: &str, columns: &[String]) -> String {
|
|
270
|
+
if columns.is_empty() {
|
|
271
|
+
return format!("INSERT INTO \"{table}\" DEFAULT VALUES");
|
|
272
|
+
}
|
|
273
|
+
let names: Vec<String> = columns.iter().map(|c| format!("\"{c}\"")).collect();
|
|
274
|
+
let placeholders: Vec<String> = (1..=columns.len()).map(|i| format!("?{i}")).collect();
|
|
275
|
+
format!(
|
|
276
|
+
"INSERT INTO \"{table}\" ({}) VALUES ({})",
|
|
277
|
+
names.join(", "),
|
|
278
|
+
placeholders.join(", ")
|
|
279
|
+
)
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/// The rows a [`Db::reconcile_batch_rows`] did not carry over: those only the
|
|
283
|
+
/// table held (`removed`) and those only the new rows hold (`added`), each in
|
|
284
|
+
/// its original order.
|
|
285
|
+
#[derive(Debug, Default)]
|
|
286
|
+
pub struct RowChanges {
|
|
287
|
+
pub removed: Vec<HashMap<String, Value>>,
|
|
288
|
+
pub added: Vec<HashMap<String, Value>>,
|
|
289
|
+
}
|
|
290
|
+
|
|
269
291
|
/// A batch of rows laid out in a table's DDL column order, so each row binds
|
|
270
292
|
/// positionally with no per-cell lookup.
|
|
271
293
|
#[derive(Debug, Clone, PartialEq)]
|
|
@@ -700,18 +722,7 @@ impl Db {
|
|
|
700
722
|
/// interleave batches of different owners.
|
|
701
723
|
pub fn insert_rows(&self, table: &str, rows: &ShapedRows, file_path: &str) -> Result<()> {
|
|
702
724
|
validate_identifier(table)?;
|
|
703
|
-
let
|
|
704
|
-
let sql = if columns.is_empty() {
|
|
705
|
-
format!("INSERT INTO \"{table}\" DEFAULT VALUES")
|
|
706
|
-
} else {
|
|
707
|
-
let names: Vec<String> = columns.iter().map(|c| format!("\"{c}\"")).collect();
|
|
708
|
-
let placeholders: Vec<String> = (1..=columns.len()).map(|i| format!("?{i}")).collect();
|
|
709
|
-
format!(
|
|
710
|
-
"INSERT INTO \"{table}\" ({}) VALUES ({})",
|
|
711
|
-
names.join(", "),
|
|
712
|
-
placeholders.join(", ")
|
|
713
|
-
)
|
|
714
|
-
};
|
|
725
|
+
let sql = insert_sql(table, &rows.columns);
|
|
715
726
|
let tx = if self.conn.is_autocommit() {
|
|
716
727
|
Some(self.conn.unchecked_transaction()?)
|
|
717
728
|
} else {
|
|
@@ -743,6 +754,99 @@ impl Db {
|
|
|
743
754
|
Ok(())
|
|
744
755
|
}
|
|
745
756
|
|
|
757
|
+
/// Make the table's rows, all owned by the batch `owner`, equal `rows`,
|
|
758
|
+
/// writing only the difference. The rows are compared as a multiset (a
|
|
759
|
+
/// batch has no row identity): an equal row already stored is left in
|
|
760
|
+
/// place, a stored row with no match is deleted, and a new row with no
|
|
761
|
+
/// match is inserted. The owner's rowid range is then re-fitted to the
|
|
762
|
+
/// table. Run it inside the caller's transaction.
|
|
763
|
+
pub fn reconcile_batch_rows(
|
|
764
|
+
&self,
|
|
765
|
+
table: &str,
|
|
766
|
+
owner: &str,
|
|
767
|
+
rows: &ShapedRows,
|
|
768
|
+
) -> Result<RowChanges> {
|
|
769
|
+
validate_identifier(table)?;
|
|
770
|
+
let columns = &rows.columns;
|
|
771
|
+
let select = if columns.is_empty() {
|
|
772
|
+
format!("SELECT rowid FROM \"{table}\" ORDER BY rowid")
|
|
773
|
+
} else {
|
|
774
|
+
let names: Vec<String> = columns.iter().map(|c| format!("\"{c}\"")).collect();
|
|
775
|
+
format!(
|
|
776
|
+
"SELECT rowid, {} FROM \"{table}\" ORDER BY rowid",
|
|
777
|
+
names.join(", ")
|
|
778
|
+
)
|
|
779
|
+
};
|
|
780
|
+
let mut stored: Vec<(i64, Vec<Value>)> = Vec::new();
|
|
781
|
+
{
|
|
782
|
+
let mut stmt = self.conn.prepare(&select)?;
|
|
783
|
+
let mut cursor = stmt.query([])?;
|
|
784
|
+
while let Some(row) = cursor.next()? {
|
|
785
|
+
let cells = (0..columns.len())
|
|
786
|
+
.map(|i| row.get::<_, rusqlite::types::Value>(i + 1).map(Value::from))
|
|
787
|
+
.collect::<rusqlite::Result<Vec<_>>>()?;
|
|
788
|
+
stored.push((row.get(0)?, cells));
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
let mut unclaimed: HashMap<String, Vec<usize>> = HashMap::new();
|
|
792
|
+
for (index, (_, cells)) in stored.iter().enumerate().rev() {
|
|
793
|
+
unclaimed
|
|
794
|
+
.entry(format!("{cells:?}"))
|
|
795
|
+
.or_default()
|
|
796
|
+
.push(index);
|
|
797
|
+
}
|
|
798
|
+
let mut added = Vec::new();
|
|
799
|
+
for (index, cells) in rows.cells.iter().enumerate() {
|
|
800
|
+
match unclaimed.get_mut(&format!("{cells:?}")) {
|
|
801
|
+
Some(indexes) if !indexes.is_empty() => {
|
|
802
|
+
indexes.pop();
|
|
803
|
+
}
|
|
804
|
+
_ => added.push(index),
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
let mut removed: Vec<usize> = unclaimed.into_values().flatten().collect();
|
|
808
|
+
removed.sort_unstable();
|
|
809
|
+
|
|
810
|
+
let to_map = |cells: &[Value]| -> HashMap<String, Value> {
|
|
811
|
+
columns.iter().cloned().zip(cells.iter().cloned()).collect()
|
|
812
|
+
};
|
|
813
|
+
let changes = RowChanges {
|
|
814
|
+
removed: removed.iter().map(|&i| to_map(&stored[i].1)).collect(),
|
|
815
|
+
added: added.iter().map(|&i| to_map(&rows.cells[i])).collect(),
|
|
816
|
+
};
|
|
817
|
+
if removed.is_empty() && added.is_empty() {
|
|
818
|
+
return Ok(changes);
|
|
819
|
+
}
|
|
820
|
+
let mut delete = self
|
|
821
|
+
.conn
|
|
822
|
+
.prepare_cached(&format!("DELETE FROM \"{table}\" WHERE rowid = ?1"))?;
|
|
823
|
+
for &index in &removed {
|
|
824
|
+
delete.execute([stored[index].0])?;
|
|
825
|
+
}
|
|
826
|
+
let mut insert = self.conn.prepare_cached(&insert_sql(table, columns))?;
|
|
827
|
+
for &index in &added {
|
|
828
|
+
for (i, value) in rows.cells[index].iter().enumerate() {
|
|
829
|
+
insert.raw_bind_parameter(i + 1, value)?;
|
|
830
|
+
}
|
|
831
|
+
insert.raw_execute()?;
|
|
832
|
+
}
|
|
833
|
+
self.conn.execute(
|
|
834
|
+
"DELETE FROM _dirsql_internal_ranges WHERE table_name = ?1 AND file_path = ?2",
|
|
835
|
+
rusqlite::params![table, owner],
|
|
836
|
+
)?;
|
|
837
|
+
let (first, last): (Option<i64>, Option<i64>) = self.conn.query_row(
|
|
838
|
+
&format!("SELECT min(rowid), max(rowid) FROM \"{table}\""),
|
|
839
|
+
[],
|
|
840
|
+
|r| Ok((r.get(0)?, r.get(1)?)),
|
|
841
|
+
)?;
|
|
842
|
+
if let (Some(first), Some(last)) = (first, last) {
|
|
843
|
+
self.conn
|
|
844
|
+
.prepare_cached(RANGE_INSERT)?
|
|
845
|
+
.execute(rusqlite::params![table, owner, first, last])?;
|
|
846
|
+
}
|
|
847
|
+
Ok(changes)
|
|
848
|
+
}
|
|
849
|
+
|
|
746
850
|
/// Both the table name and every user-provided column name are validated
|
|
747
851
|
/// as safe SQL identifiers before being interpolated. A column key with
|
|
748
852
|
/// SQL syntax (e.g. `id); DROP TABLE t; --`) produces a clean
|
|
@@ -887,6 +991,22 @@ impl Db {
|
|
|
887
991
|
.collect()
|
|
888
992
|
}
|
|
889
993
|
|
|
994
|
+
/// Every distinct `(table_name, file_path)` that owns rows, ordered by
|
|
995
|
+
/// table then path. A per-table hook's rows have no file owner and are
|
|
996
|
+
/// not listed.
|
|
997
|
+
pub fn owned_files(&self) -> Result<Vec<(String, String)>> {
|
|
998
|
+
let mut stmt = self.conn.prepare(
|
|
999
|
+
"SELECT DISTINCT table_name, file_path FROM ( \
|
|
1000
|
+
SELECT table_name, file_path FROM _dirsql_internal_rows \
|
|
1001
|
+
UNION ALL \
|
|
1002
|
+
SELECT table_name, file_path FROM _dirsql_internal_ranges) \
|
|
1003
|
+
WHERE file_path != '' \
|
|
1004
|
+
ORDER BY table_name, file_path",
|
|
1005
|
+
)?;
|
|
1006
|
+
let rows = stmt.query_map([], |r| Ok((r.get(0)?, r.get(1)?)))?;
|
|
1007
|
+
Ok(rows.collect::<rusqlite::Result<Vec<_>>>()?)
|
|
1008
|
+
}
|
|
1009
|
+
|
|
890
1010
|
/// Every distinct `(table_name, file_path)` whose file sits beneath the
|
|
891
1011
|
/// directory `dir`, ordered by table then path.
|
|
892
1012
|
pub fn files_under(&self, dir: &str) -> Result<Vec<(String, String)>> {
|
|
@@ -2392,6 +2512,42 @@ mod tests {
|
|
|
2392
2512
|
assert!(db.files_under("nothing").unwrap().is_empty());
|
|
2393
2513
|
}
|
|
2394
2514
|
|
|
2515
|
+
#[test]
|
|
2516
|
+
fn owned_files_lists_each_file_once_and_skips_the_batch_owner() {
|
|
2517
|
+
let db = Db::new().unwrap();
|
|
2518
|
+
db.create_table("t1", "CREATE TABLE t1 (id TEXT)").unwrap();
|
|
2519
|
+
db.create_table("t2", "CREATE TABLE t2 (id TEXT)").unwrap();
|
|
2520
|
+
let row = HashMap::from([("id".into(), Value::Text("x".into()))]);
|
|
2521
|
+
for (table, file, idx) in [
|
|
2522
|
+
("t2", "c.jsonl", 0),
|
|
2523
|
+
("t1", "a.jsonl", 0),
|
|
2524
|
+
("t1", "a.jsonl", 1),
|
|
2525
|
+
("t1", "d/b.jsonl", 0),
|
|
2526
|
+
("t1", "", 0),
|
|
2527
|
+
] {
|
|
2528
|
+
db.insert_row(table, &row, file, idx).unwrap();
|
|
2529
|
+
}
|
|
2530
|
+
|
|
2531
|
+
assert_eq!(
|
|
2532
|
+
db.owned_files().unwrap(),
|
|
2533
|
+
vec![
|
|
2534
|
+
("t1".to_string(), "a.jsonl".to_string()),
|
|
2535
|
+
("t1".to_string(), "d/b.jsonl".to_string()),
|
|
2536
|
+
("t2".to_string(), "c.jsonl".to_string()),
|
|
2537
|
+
]
|
|
2538
|
+
);
|
|
2539
|
+
}
|
|
2540
|
+
|
|
2541
|
+
#[test]
|
|
2542
|
+
fn owned_files_surfaces_sql_failure() {
|
|
2543
|
+
let db = Db::new().unwrap();
|
|
2544
|
+
db.conn
|
|
2545
|
+
.execute("DROP TABLE _dirsql_internal_rows", [])
|
|
2546
|
+
.unwrap();
|
|
2547
|
+
let err = db.owned_files().unwrap_err();
|
|
2548
|
+
assert!(matches!(err, DbError::Sqlite(_)), "got: {err:?}");
|
|
2549
|
+
}
|
|
2550
|
+
|
|
2395
2551
|
#[test]
|
|
2396
2552
|
fn files_under_surfaces_sql_failure() {
|
|
2397
2553
|
let db = Db::new().unwrap();
|
|
@@ -3023,6 +3179,141 @@ mod tests {
|
|
|
3023
3179
|
assert!(range_rows(&db, "t").is_empty());
|
|
3024
3180
|
}
|
|
3025
3181
|
|
|
3182
|
+
fn table_rows(db: &Db, table: &str) -> Vec<(i64, String)> {
|
|
3183
|
+
db.conn()
|
|
3184
|
+
.prepare(&format!("SELECT rowid, id FROM {table} ORDER BY rowid"))
|
|
3185
|
+
.unwrap()
|
|
3186
|
+
.query_map([], |r| Ok((r.get(0)?, r.get(1)?)))
|
|
3187
|
+
.unwrap()
|
|
3188
|
+
.collect::<rusqlite::Result<_>>()
|
|
3189
|
+
.unwrap()
|
|
3190
|
+
}
|
|
3191
|
+
|
|
3192
|
+
fn ids(changes: &[HashMap<String, Value>]) -> Vec<Value> {
|
|
3193
|
+
changes.iter().map(|row| row["id"].clone()).collect()
|
|
3194
|
+
}
|
|
3195
|
+
|
|
3196
|
+
fn batch_db(ids: serde_json::Value) -> Db {
|
|
3197
|
+
let db = Db::new().unwrap();
|
|
3198
|
+
db.create_table("t", "CREATE TABLE t (id TEXT)").unwrap();
|
|
3199
|
+
db.insert_rows("t", &shaped(&db, "t", ids), "").unwrap();
|
|
3200
|
+
db
|
|
3201
|
+
}
|
|
3202
|
+
|
|
3203
|
+
#[test]
|
|
3204
|
+
fn reconcile_batch_rows_leaves_equal_rows_in_place_and_writes_the_rest() {
|
|
3205
|
+
let db = batch_db(serde_json::json!([{"id":"a"},{"id":"b"},{"id":"c"}]));
|
|
3206
|
+
let next = shaped(
|
|
3207
|
+
&db,
|
|
3208
|
+
"t",
|
|
3209
|
+
serde_json::json!([{"id":"a"},{"id":"x"},{"id":"c"}]),
|
|
3210
|
+
);
|
|
3211
|
+
let before = db.conn().total_changes();
|
|
3212
|
+
|
|
3213
|
+
let changes = db.reconcile_batch_rows("t", "", &next).unwrap();
|
|
3214
|
+
|
|
3215
|
+
assert_eq!(
|
|
3216
|
+
table_rows(&db, "t"),
|
|
3217
|
+
vec![(1, "a".into()), (3, "c".into()), (4, "x".into())]
|
|
3218
|
+
);
|
|
3219
|
+
assert_eq!(ids(&changes.removed), vec![Value::Text("b".into())]);
|
|
3220
|
+
assert_eq!(ids(&changes.added), vec![Value::Text("x".into())]);
|
|
3221
|
+
assert_eq!(db.conn().total_changes() - before, 4);
|
|
3222
|
+
}
|
|
3223
|
+
|
|
3224
|
+
#[test]
|
|
3225
|
+
fn reconcile_batch_rows_compares_rows_as_a_multiset() {
|
|
3226
|
+
let db = batch_db(serde_json::json!([{"id":"a"},{"id":"a"},{"id":"a"}]));
|
|
3227
|
+
let next = shaped(&db, "t", serde_json::json!([{"id":"a"},{"id":"a"}]));
|
|
3228
|
+
|
|
3229
|
+
let changes = db.reconcile_batch_rows("t", "", &next).unwrap();
|
|
3230
|
+
|
|
3231
|
+
assert_eq!(table_rows(&db, "t"), vec![(1, "a".into()), (2, "a".into())]);
|
|
3232
|
+
assert_eq!(ids(&changes.removed), vec![Value::Text("a".into())]);
|
|
3233
|
+
assert!(changes.added.is_empty());
|
|
3234
|
+
}
|
|
3235
|
+
|
|
3236
|
+
#[test]
|
|
3237
|
+
fn reconcile_batch_rows_inserts_each_copy_the_table_holds_too_few_of() {
|
|
3238
|
+
let db = batch_db(serde_json::json!([{"id":"a"}]));
|
|
3239
|
+
let next = shaped(
|
|
3240
|
+
&db,
|
|
3241
|
+
"t",
|
|
3242
|
+
serde_json::json!([{"id":"a"},{"id":"a"},{"id":"a"}]),
|
|
3243
|
+
);
|
|
3244
|
+
|
|
3245
|
+
let changes = db.reconcile_batch_rows("t", "", &next).unwrap();
|
|
3246
|
+
|
|
3247
|
+
assert_eq!(
|
|
3248
|
+
table_rows(&db, "t"),
|
|
3249
|
+
vec![(1, "a".into()), (2, "a".into()), (3, "a".into())]
|
|
3250
|
+
);
|
|
3251
|
+
assert_eq!(ids(&changes.added).len(), 2);
|
|
3252
|
+
assert!(changes.removed.is_empty());
|
|
3253
|
+
}
|
|
3254
|
+
|
|
3255
|
+
#[test]
|
|
3256
|
+
fn reconcile_batch_rows_writes_nothing_when_no_row_changed() {
|
|
3257
|
+
let db = batch_db(serde_json::json!([{"id":"a"},{"id":"b"}]));
|
|
3258
|
+
let same = shaped(&db, "t", serde_json::json!([{"id":"b"},{"id":"a"}]));
|
|
3259
|
+
let before = db.conn().total_changes();
|
|
3260
|
+
|
|
3261
|
+
let changes = db.reconcile_batch_rows("t", "", &same).unwrap();
|
|
3262
|
+
|
|
3263
|
+
assert!(changes.removed.is_empty() && changes.added.is_empty());
|
|
3264
|
+
assert_eq!(db.conn().total_changes(), before);
|
|
3265
|
+
}
|
|
3266
|
+
|
|
3267
|
+
#[test]
|
|
3268
|
+
fn reconcile_batch_rows_refits_the_owners_range_to_the_table() {
|
|
3269
|
+
let db = batch_db(serde_json::json!([{"id":"a"},{"id":"b"},{"id":"c"}]));
|
|
3270
|
+
let next = shaped(&db, "t", serde_json::json!([{"id":"b"},{"id":"d"}]));
|
|
3271
|
+
db.reconcile_batch_rows("t", "", &next).unwrap();
|
|
3272
|
+
|
|
3273
|
+
assert_eq!(range_rows(&db, "t"), vec![(String::new(), 2, 3)]);
|
|
3274
|
+
let read: Vec<Value> = db
|
|
3275
|
+
.get_rows_by_file("t", "")
|
|
3276
|
+
.unwrap()
|
|
3277
|
+
.into_iter()
|
|
3278
|
+
.map(|r| r["id"].clone())
|
|
3279
|
+
.collect();
|
|
3280
|
+
assert_eq!(read, vec![Value::Text("b".into()), Value::Text("d".into())]);
|
|
3281
|
+
|
|
3282
|
+
let empty = shaped(&db, "t", serde_json::json!([]));
|
|
3283
|
+
db.reconcile_batch_rows("t", "", &empty).unwrap();
|
|
3284
|
+
assert!(range_rows(&db, "t").is_empty());
|
|
3285
|
+
assert!(table_rows(&db, "t").is_empty());
|
|
3286
|
+
}
|
|
3287
|
+
|
|
3288
|
+
#[test]
|
|
3289
|
+
fn reconcile_batch_rows_binds_an_empty_column_list_by_default_values() {
|
|
3290
|
+
let db = Db::new().unwrap();
|
|
3291
|
+
db.create_table("t", "CREATE TABLE t (id TEXT)").unwrap();
|
|
3292
|
+
let rows = ShapedRows {
|
|
3293
|
+
columns: vec![],
|
|
3294
|
+
cells: vec![vec![]],
|
|
3295
|
+
};
|
|
3296
|
+
db.reconcile_batch_rows("t", "", &rows).unwrap();
|
|
3297
|
+
assert_eq!(table_rows_count(&db), 1);
|
|
3298
|
+
}
|
|
3299
|
+
|
|
3300
|
+
fn table_rows_count(db: &Db) -> i64 {
|
|
3301
|
+
db.conn()
|
|
3302
|
+
.query_row("SELECT count(*) FROM t", [], |r| r.get(0))
|
|
3303
|
+
.unwrap()
|
|
3304
|
+
}
|
|
3305
|
+
|
|
3306
|
+
#[test]
|
|
3307
|
+
fn reconcile_batch_rows_rejects_an_unsafe_table_name() {
|
|
3308
|
+
let db = Db::new().unwrap();
|
|
3309
|
+
let rows = ShapedRows {
|
|
3310
|
+
columns: vec![],
|
|
3311
|
+
cells: vec![],
|
|
3312
|
+
};
|
|
3313
|
+
let err = db.reconcile_batch_rows("bad name", "", &rows).unwrap_err();
|
|
3314
|
+
assert!(matches!(err, DbError::InvalidIdentifier(_)), "got: {err}");
|
|
3315
|
+
}
|
|
3316
|
+
|
|
3026
3317
|
#[test]
|
|
3027
3318
|
fn insert_rows_rejects_an_unsafe_table_name() {
|
|
3028
3319
|
let db = Db::new().unwrap();
|