Name Description Size Coverage
mod.rs Read-only access to Firefox prefs. There's a small set of prefs we're interested in, so rather than supporting random-access of arbitrary prefs, we simply load those we need in a single pass. 13537 48 %
parser.rs Prefs file parsing utilities. This isn't as extensive as the Rust libpref parser, but we don't need it to be. We _could_ potentially use that library, but we're only interested in a subset of prefs so we don't need to parse everything. That doesn't support "lockPref" yet, which I've seen in debian package patches and Enterprise code, though Enterprise hasn't changed libpref. This parsing also permits any pref function to be used in user pref files, whereas the libpref parsing only allows `user_pref`. 9905 30 %