mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
core/json: Rename json_path.rs to path.rs
This commit is contained in:
parent
4a91988755
commit
6258dda5f1
3 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@ use std::{
|
|||
str::{from_utf8, from_utf8_unchecked},
|
||||
};
|
||||
|
||||
use super::json_path::{JsonPath, PathElement};
|
||||
use super::path::{JsonPath, PathElement};
|
||||
|
||||
const SIZE_MARKER_8BIT: u8 = 12;
|
||||
const SIZE_MARKER_16BIT: u8 = 13;
|
||||
|
@ -3607,7 +3607,7 @@ world""#,
|
|||
#[cfg(test)]
|
||||
mod path_operations_tests {
|
||||
use super::*;
|
||||
use crate::json::json_path::{JsonPath, PathElement};
|
||||
use crate::json::path::{JsonPath, PathElement};
|
||||
use std::borrow::Cow;
|
||||
|
||||
// Helper function to create a simple JsonPath
|
||||
|
|
|
@ -5,7 +5,7 @@ mod cache;
|
|||
#[cfg(feature = "json")]
|
||||
mod ops;
|
||||
#[cfg(feature = "json")]
|
||||
mod json_path;
|
||||
mod path;
|
||||
#[cfg(feature = "json")]
|
||||
mod jsonb;
|
||||
|
||||
|
@ -17,7 +17,7 @@ pub use crate::json::ops::{
|
|||
jsonb_replace,
|
||||
};
|
||||
#[cfg(feature = "json")]
|
||||
use crate::json::json_path::{json_path, JsonPath, PathElement};
|
||||
use crate::json::path::{json_path, JsonPath, PathElement};
|
||||
use crate::types::{OwnedValue, OwnedValueType, Text, TextSubtype};
|
||||
use crate::vdbe::Register;
|
||||
use crate::{bail_constraint_error, bail_parse_error, LimboError};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue