Skip to content

Commit f9b4d46

Browse files
committed
feat: expose LastCheckpointHint::path under internal-api
Promote `path()` to `pub fn` under the `internal-api` feature so downstream embedders can compute the `_last_checkpoint` URL without duplicating the file-name constant. Co-authored-by: Isaac
1 parent 16f3d5c commit f9b4d46

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

kernel/src/last_checkpoint_hint.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ pub(crate) struct LastCheckpointHint {
5959
}
6060

6161
impl LastCheckpointHint {
62-
// Returns the path the last checkpoint file given the log root of a table.
62+
/// Returns the path of the `_last_checkpoint` file given the log root of a table.
63+
#[internal_api]
6364
pub(crate) fn path(log_root: &Url) -> DeltaResult<Url> {
6465
Ok(log_root.join(LAST_CHECKPOINT_FILE_NAME)?)
6566
}

0 commit comments

Comments
 (0)