fn file_path(
    object_store: &ObjectStore,
    server_id: ServerId,
    db_name: &str,
    tkey: &TransactionKey,
    file_type: FileType,
) -> Path {
    let mut path = catalog_path(object_store, server_id, db_name);

    // pad number: `u64::MAX.to_string().len()` is 20
    path.push_dir(format!("{:0>20}", tkey.revision_counter));

    let file_name = format!("{}.{}", tkey.uuid, file_type.suffix());
    path.set_file_name(file_name);

    path
}
/// Creates object store path for given transaction or checkpoint.
///
/// The format is:
///
/// ```text
/// <server_id>/<db_name>/transactions/<revision_counter>/<uuid>.{txn,ckpt}
/// ```
Creates object store path for given transaction or checkpoint.
The format is.


Creates object store path for given transaction or checkpoint . The format is .
fn file_path(
    object_store: &ObjectStore,
    server_id: ServerId,
    db_name: &str,
    tkey: &TransactionKey,
    file_type: FileType,
) -> Path {
    let mut path = catalog_path(object_store, server_id, db_name);
    // pad number: `u64::MAX.to_string().len()` is 20
    path.push_dir(format!("{:0>20}", tkey.revision_counter));
    let file_name = format!("{}.{}", tkey.uuid, file_type.suffix());
    path.set_file_name(file_name);
    path
}
fn file_path ( object_store : & ObjectStore , server_id : ServerId , db_name : & str , tkey : & TransactionKey , file_type : FileType , ) -> Path { let mut path = catalog_path ( object_store , server_id , db_name ) ; // pad number: `u64::MAX.to_string().len()` is 20 path . push_dir ( format ! ( " " tkey revision_counter ) ) ; let file_name = format ! ( " " tkey uuid file_type suffix ( ) ) ; path . set_file_name ( file_name ) ; path }
Creates object store path for given transaction or checkpoint.
Creates object store path for given transaction or checkpoint .
object_store
&ObjectStore
server_id
ServerId
db_name
&str
tkey
&TransactionKey
file_type
FileType
object_store
&ObjectStore
server_id
ServerId
db_name
&str
tkey
&TransactionKey
file_type
FileType