API
Documentation for the core code
Base Classes
Instrument Classes
Tools
- rvdata.core.tools.git.get_git_branch(repo_path: str = None) str
Returns the current branch name for the repository at repo_path. If repo_path is None, uses the current working directory.
- rvdata.core.tools.git.get_git_revision_hash(repo_path: str = None) str
Returns the current git commit hash for the repository at repo_path. If repo_path is None, uses the current working directory.
- rvdata.core.tools.git.get_git_tag(repo_path: str = None) str
Returns the most recent git tag for the repository at repo_path. If repo_path is None, uses the current working directory.