pub fn record_in(dir: &Path, session: &Session) -> Result<(), String>
Adds a session to its month’s file, in dir, with an id of its own when it has none.
dir