Skip to content

Commit f88b805

Browse files
committed
chore: rename folder
1 parent 01589c6 commit f88b805

File tree

9 files changed

+7
-10
lines changed

9 files changed

+7
-10
lines changed

shared-lib/lib-ot/src/core/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
pub mod attributes;
22
mod delta;
3-
mod document;
43
mod interval;
4+
mod node_tree;
55
mod ot_str;
66

77
pub use attributes::*;
88
pub use delta::operation::*;
99
pub use delta::*;
10-
pub use document::*;
1110
pub use interval::*;
11+
pub use node_tree::*;
1212
pub use ot_str::*;

shared-lib/lib-ot/src/core/document/mod.rs renamed to shared-lib/lib-ot/src/core/node_tree/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
mod node;
44
mod node_serde;
5-
mod node_tree;
65
mod operation;
76
mod operation_serde;
87
mod path;
98
mod transaction;
9+
mod tree;
1010

1111
pub use node::*;
12-
pub use node_tree::*;
1312
pub use operation::*;
1413
pub use path::*;
1514
pub use transaction::*;
15+
pub use tree::*;

shared-lib/lib-ot/src/core/document/operation.rs renamed to shared-lib/lib-ot/src/core/node_tree/operation.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
use crate::core::attributes::Attributes;
2-
use crate::core::document::path::Path;
3-
use crate::core::{NodeBodyChangeset, NodeData};
2+
use crate::core::{NodeBodyChangeset, NodeData, Path};
43
use crate::errors::OTError;
54
use serde::{Deserialize, Serialize};
65
use std::rc::Rc;

shared-lib/lib-ot/src/core/document/transaction.rs renamed to shared-lib/lib-ot/src/core/node_tree/transaction.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
use crate::core::attributes::Attributes;
2-
use crate::core::document::path::Path;
3-
use crate::core::{NodeData, NodeOperation, NodeTree};
2+
use crate::core::{NodeData, NodeOperation, NodeTree, Path};
43
use crate::errors::OTError;
54
use indextree::NodeId;
65
use std::rc::Rc;

shared-lib/lib-ot/src/core/document/node_tree.rs renamed to shared-lib/lib-ot/src/core/node_tree/tree.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
use crate::core::attributes::Attributes;
2-
use crate::core::document::path::Path;
3-
use crate::core::{Node, NodeBodyChangeset, NodeData, NodeOperation, OperationTransform, Transaction};
2+
use crate::core::{Node, NodeBodyChangeset, NodeData, NodeOperation, OperationTransform, Path, Transaction};
43
use crate::errors::{ErrorBuilder, OTError, OTErrorCode};
54
use indextree::{Arena, Children, FollowingSiblings, NodeId};
65
use std::rc::Rc;

0 commit comments

Comments
 (0)