Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HKUDS/AgentSpace
/ getDatabaseConnectionLabel
Function
getDatabaseConnectionLabel
packages/db/src/database.ts:471–473 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
469
}
470
471
export
function
getDatabaseConnectionLabel(): string {
472
return
redactPostgresDatabaseUrl(resolvePostgresDatabaseUrl());
473
}
474
475
export
function
resetDatabaseForTests(): void {
476
closeDatabase();
Callers
3
getWorkspaceStateFilePath
Function · 0.90
getWorkspaceDatabaseFilePath
Function · 0.90
getDatabaseStatusSync
Function · 0.90
Calls
2
redactPostgresDatabaseUrl
Function · 0.90
resolvePostgresDatabaseUrl
Function · 0.90
Tested by
no test coverage detected