fjall 3.1.4

Log-structured, embeddable key-value storage engine
Documentation
1
2
3
4
5
6
7
8
9
10
// Copyright (c) 2024-present, fjall-rs
// This source code is licensed under both the Apache 2.0 and MIT License
// (found in the LICENSE-* files in the repository)

use std::path::{Path, PathBuf};

pub fn absolute_path(path: &Path) -> PathBuf {
    #[expect(clippy::expect_used, reason = "nothing we can do")]
    std::path::absolute(path).expect("should be absolute path")
}