Module index

Module index 

Source
Expand description

Index backend implementations.

Modulesยง

domain ๐Ÿ”’
Domain-scoped index management.
org_router ๐Ÿ”’
Organization index router.
postgresql ๐Ÿ”’
PostgreSQL-based index backend.
redis ๐Ÿ”’
Redis-based index backend using RediSearch.
sqlite ๐Ÿ”’
SQLite + FTS5 index backend.

Structsยง

DomainIndexConfig
Configuration for domain-scoped indices.
DomainIndexManager
Manages indices for different domain scopes.
OrgIndexRouter
Routes org-scoped storage to the configured backend.
OrgIndexStatus
Status information about the org index.
PostgresIndexBackend
PostgreSQL-based index backend.
RedisBackend
Redis-based index backend using RediSearch.
SqliteBackend
SQLite-based index backend with FTS5.

Enumsยง

DomainScope
Domain scope for index isolation.
OrgBackendType
Backend type for status reporting.
OrgIndexConfig
Organization index configuration.

Functionsยง

find_repo_root
Resolves the repository root from a given path.
get_user_data_dir
Gets the user data directory for subcog.
is_in_git_repo
Checks if the current working directory is inside a git repository.
is_path_in_git_repo
Checks if a given path is inside a git repository.