This directory contains runtime data for the NeetCode project.
.neetcode/
├── leetcode_datasource/
│ ├── cache/ # Ephemeral cache (safe to delete)
│ └── store/ # Persistent SQLite storage
└── README.md # This file
| Directory | Purpose | Safe to Delete? |
|---|---|---|
cache/ |
Speed up repeated lookups | ✅ Yes - will be rebuilt |
store/ |
Offline access, persistence |
cache/is gitignored (ephemeral data)store/may be committed for sharing (optional)
If you need to rebuild the data:
# Re-import from LeetScrape data
python -c "from leetcode_datasource import LeetCodeDataSource; print('OK')"The data directory location can be overridden:
- Environment variable:
NEETCODE_DATA_DIR=/custom/path - Code:
DataSourceConfig(data_dir=Path("/custom/path"))
See docs/packages-architecture-spec.md for full documentation.