MCPcopy
hub / github.com/unclecode/crawl4ai / check_db_path

Function check_db_path

crawl4ai/database.py:42–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 print(f"Error altering database to add screenshot column: {e}")
41
42def check_db_path():
43 if not DB_PATH:
44 raise ValueError("Database path is not set or is empty.")
45
46def get_cached_url(url: str) -> Optional[Tuple[str, str, str, str, str, str, str, bool, str]]:
47 check_db_path()

Callers 7

alter_db_add_screenshotFunction · 0.85
get_cached_urlFunction · 0.85
cache_urlFunction · 0.85
get_total_countFunction · 0.85
clear_dbFunction · 0.85
flush_dbFunction · 0.85
update_existing_recordsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…