1use std::path::{Path, PathBuf};
3pub fn project_root() -> PathBuf {
4 Path::new(env!("CARGO_MANIFEST_DIR"))
10pub fn book_gen() -> PathBuf {
11 project_root().join("book/src/generated/")
14pub fn ts_queries() -> PathBuf {
15 project_root().join("runtime/queries")
18pub fn lang_config() -> PathBuf {
19 project_root().join("languages.toml")
22pub fn themes() -> PathBuf {
23 project_root().join("runtime/themes")
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list