Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions code-rs/core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ pub mod acp;
pub mod custom_prompts;
pub mod debug_logger;
pub mod review_coord;
pub mod review_store;
mod environment_context;
mod reasoning;
pub mod retention;
Expand Down
4 changes: 4 additions & 0 deletions code-rs/core/src/review_coord.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ fn scoped_dir(scope: Option<&Path>) -> std::io::Result<PathBuf> {
Ok(dir)
}

pub fn scoped_review_state_dir(scope: &Path) -> std::io::Result<PathBuf> {
scoped_dir(Some(scope))
}

fn epoch_path(scope: Option<&Path>) -> std::io::Result<PathBuf> {
let mut dir = scoped_dir(scope)?;
dir.push(EPOCH_FILENAME);
Expand Down
Loading