mirror of
https://github.com/loro-dev/loro.git
synced 2025-02-02 11:06:14 +00:00
refactor: rename yata to yata_impl
This commit is contained in:
parent
947eb13853
commit
18229bd41b
3 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@ fn main() {}
|
|||
fn main() {
|
||||
use crdt_list::test;
|
||||
use crdt_list::test::Action::*;
|
||||
use loro_core::container::text::tracker::yata::YataImpl;
|
||||
use loro_core::container::text::tracker::yata_impl::YataImpl;
|
||||
let mut actions = vec![];
|
||||
for i in 0..500_usize {
|
||||
actions.push(if i % 2 == 0 {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
use rle::HasLength;
|
||||
|
||||
use crate::{
|
||||
container::{list::list_op::ListOp, text::tracker::yata::YataImpl},
|
||||
container::{list::list_op::ListOp, text::tracker::yata_impl::YataImpl},
|
||||
id::{Counter, ID},
|
||||
op::Op,
|
||||
span::IdSpan,
|
||||
|
@ -18,9 +18,9 @@ mod content_map;
|
|||
mod cursor_map;
|
||||
mod y_span;
|
||||
#[cfg(not(feature = "fuzzing"))]
|
||||
mod yata;
|
||||
mod yata_impl;
|
||||
#[cfg(feature = "fuzzing")]
|
||||
pub mod yata;
|
||||
pub mod yata_impl;
|
||||
|
||||
/// A tracker for a single text, we can use it to calculate the effect of an operation on a text.
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue