cwd

Function cwd 

Source
pub fn cwd() -> Result<(Repository, RepoId), CwdError>
Expand description

Get the RID of the repository in current working directory

It will atempt to search parent directories if path did not find a git repository.

ยงSafety

This function should only perform read operations since we do not want to modify the wrong repository in the case that it found a Git repository that is not a Radicle repository.