mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
core: Make clippy happy
...I actually have no idea why Clippy complains now, but not in main.
This commit is contained in:
parent
c9945950e8
commit
c3250b64a6
1 changed files with 2 additions and 0 deletions
|
@ -670,6 +670,7 @@ impl OpenMode {
|
|||
))),
|
||||
}
|
||||
}
|
||||
#[allow(dead_code)]
|
||||
pub fn get_flags(&self) -> OpenFlags {
|
||||
match self {
|
||||
OpenMode::ReadWriteCreate => OpenFlags::Create,
|
||||
|
@ -705,6 +706,7 @@ fn normalize_windows_path(path: &str) -> String {
|
|||
}
|
||||
|
||||
/// Parses a SQLite URI, handling Windows and Unix paths separately.
|
||||
#[allow(dead_code)]
|
||||
pub fn parse_sqlite_uri(uri: &str) -> Result<OpenOptions> {
|
||||
if !uri.starts_with("file:") {
|
||||
return Ok(OpenOptions {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue