Understand the Pursuit database structure
masterPursuit's filesystem-based database consists of two main directories: cache/ and verified/.
cache/ directory
Mirrors the URL structure of the web application. It contains static files (like index.html and documentation files) that can be served directly without hitting the Yesod application.
verified/ directory
Stores uploaded packages. Each package has its own directory, containing a JSON file for every version. These JSON files contain a serialized Package GithubUser type.
Example Structure:
/
cache/
packages/
purescript-prelude/
0.1.0/
index.html
docs/
Prelude/
index.html
verified/
purescript-prelude/
0.1.0.json
0.1.1.json