Skip to main content

get_at

Function get_at 

Source
pub fn get_at(path: &Path, timestamp: DateTime<Utc>) -> Option<String>
Expand description

Returns the branch checked out at or before timestamp, inferred from HEAD reflog.

Returns None when path is not in a repository, HEAD has no usable reflog, or no checkout/switch entry exists before the timestamp.