pub fn store(
project_state: &Path,
unit: &str,
draft: &Draft,
contents: &[(String, String)],
) -> Result<(), String>Expand description
Stores draft with its tests’ contents (path, text); each content
must hash to its test’s digest. Files of tests no longer listed go.