tools capa

tools-knowitall-offline

tools-knowitall-offline: minimal standalone filesystem cataloger for hosts with no network path to the real (Postgres-backed) knowitall index -- writes a local SQLite file matching a subset of the real fs_path schema, mergeable later via ON CONFLICT DO NOTHING once network access exists. No sqlx/tokio/workspace dependency by design: it vendors and builds natively on a target host in minutes, not hours, which is the whole point when that host has no internet access either.

tools-knowitall-offline: minimal standalone filesystem cataloger for hosts with no network path to the real (Postgres-backed) knowitall index -- writes a local SQLite file matching a subset of the real fs_path schema, mergeable later via ON CONFLICT DO NOTHING once network access exists. No sqlx/tokio/workspace dependency by design: it vendors and builds natively on a target host in minutes, not hours, which is the whole point when that host has no internet access either.

Tiertools
Roleunclassified (baselined)
Pathcrates/tools/knowitall-offline
Edition2021
Targetstools-knowitall-offline, tools_knowitall_offline
Public items6 across 0 modules
Tests12

What it is for

Pure decision logic for knowitall-offline. No I/O here (that's main.rs): built live against yoda.scity.co (2026-09-13) to catalog a FreeBSD fleet host with no network path to the real Postgres-backed knowitall index. Deliberately standalone (no sqlx/tokio/workspace dependency) so it vendors and cross-/native-builds in minutes on a target host that may itself have no internet access.

Capabilities

crate root

Pure decision logic for knowitall-offline. No I/O here (that's

Item
pub const SKIP_DIR_NAMES: & & str
pub const SKIP_ABS_PREFIXES: & & str
pub const SKIP_VIDEO_EXTENSIONS: & & str
pub const VAR_DB_NOISE: & & str
fn should_skip(path : & std::path::Path) -> bool
fn is_var_db_noise(name : & str) -> bool

How to use it

No examples/ target and no doctest in this crate's rustdoc. The tests listed under Verification are the closest executable usage.

Module structure

No public modules: the crate root is its whole surface.

Public surface

`crate root`

ItemWhat it is
pub const SKIP_DIR_NAMES: & & strDirectory names skipped when they appear as the CURRENT path's own last component, checked only while descending (never against an explicitly-requested root -- see should_skip's is_root handling in main.rs's walk loop)
pub const SKIP_ABS_PREFIXES: & & strAbsolute path PREFIXES skipped unconditionally
pub const SKIP_VIDEO_EXTENSIONS: & & strVideo file extensions skipped as a heuristic for excluding large DVR/ NVR footage exports reachable via an NFS mount, without needing to know their exact path.
pub const VAR_DB_NOISE: & & strFreeBSD base-system var/db subdirectory names that are host state, never "installed program data" -- used when a caller wants to walk a var/db directory and keep only the interesting entries (a live mysql/postgres/caddy/sudo/..
fn should_skip(path : & std::path::Path) -> boolWhether path should be skipped while descending a walk
fn is_var_db_noise(name : & str) -> boolWhether a var/db-style subdirectory name is real installed-program state worth cataloging, versus FreeBSD base-system noise.

No pub use re-exports: every item above is declared in this crate.

Boundary

Depends on no other workspace tier.

Shares tier tools with 86 other crates: tools-advisory-reach, tools-archive-guard, tools-artifact-scaffold, tools-ask-ai-core, tools-ask-ais, tools-ask-gemini, tools-book, tools-book-report, … (86 total).

_What this crate deliberately does NOT own is a judgment. No committed registry records one for it, so none is stated here._

Where it sits

Tier (ontology)tools
Architectural role (taxonomy)unclassified (baselined)
Locationcrates/tools/knowitall-offline
Vocabulary in force (lexicon)current

Dependencies

Runtime, from outside the workspace.

CrateRequirementFeaturesOptionalOnly on
rusqlite^0.32bundlednoalways

Development. None.

Build. None.

Depended on by. Nothing in this workspace.

Feature flags

No Cargo features are defined: every capability is unconditional, so no consumer can receive a half-wired crate.

Targets

KindNameSource
bintools-knowitall-offline`src/main.rs`
libtools_knowitall_offline`src/lib.rs`

Error model

No public error type was detected: no public item declares a type named *Error, and no public signature returns one.

Operational characteristics

PropertyEvidence
async public surfacenone detected
async runtimenone detected
database accessnone detected
network I/Onone detected
unsafe codenone detected
environment variablesyes

No unsafe block, unsafe fn, unsafe impl or unsafe trait was found by the parser anywhere in this crate's source.

Configuration

VariableRead in
HOSTNAMEsrc/main.rs

No workspace crate depends on this one.

Verification

KindCount
Unit tests12
Integration tests0
Examples0
Doctests0

Evidence by module. How often each public module is named by something executable.

ModuleTestsExamplesConsumers
crate root600

What the tests establish, by name:

Documentation coverage

MeasureDocumentedTotal
Public items with rustdoc66
Public modules with a //! block00
pie showData
    title Public items with rustdoc
    "Documented" : 6
    "No rustdoc detected" : 0

Metrics

MetricValue
Rust source files2
Source lines535
Code lines444
Public API items6
Public modules0
Tests12
Examples0
Cargo features0
Direct runtime dependencies1
Workspace reverse dependencies0
pie showData
    title Public API by kind
    "constant" : 4
    "function" : 2
pie showData
    title Rust source composition
    "Code" : 444
    "Blank or comment" : 91

Generation

Rendered by tools-corpus corpus readme from repository evidence alone, renderer schema 2, lexicon current. No model, network service or database was consulted. Regenerate with tools-corpus corpus readme --write; verify with --check.

Todas las tools · Manual