refactor: rename yata to yata_impl

This commit is contained in:
Zixuan Chen 2022-10-19 14:19:48 +08:00
parent 947eb13853
commit 18229bd41b
3 changed files with 4 additions and 4 deletions

View file

@ -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 {

View file

@ -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.
///