Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
chore: rename files
appflowy387ee911a992
diff --git a/shared-lib/lib-ot/src/core/document/mod.rs b/shared-lib/lib-ot/src/core/document/mod.rsindex 2dde3ef3e9..a0eced6c24 100644--- a/shared-lib/lib-ot/src/core/document/mod.rs+++ b/shared-lib/lib-ot/src/core/document/mod.rs@@ -1,14 +1,14 @@#![allow(clippy::module_inception)]mod attributes;-mod document;-mod document_operation;mod node;-mod position;+mod node_tree;+mod operation;+mod path;mod transaction;pub use attributes::*;-pub use document::*;-pub use document_operation::*;pub use node::*;-pub use position::*;+pub use node_tree::*;+pub use operation::*;+pub use path::*;pub use transaction::*;diff --git a/shared-lib/lib-ot/src/core/document/document.rs b/shared-lib/lib-ot/src/core/document/node_tree.rssimilarity index 99%rename from shared-lib/lib-ot/src/core/document/document.rsrename to shared-lib/lib-ot/src/core/document/node_tree.rsindex ead107fe73..2d1483d59f 100644--- a/shared-lib/lib-ot/src/core/document/document.rs+++ b/shared-lib/lib-ot/src/core/document/node_tree.rs@@ -1,4 +1,4 @@-use crate::core::document::position::Path;+use crate::core::document::path::Path;use crate::core::{Node, NodeAttributes, NodeData, NodeOperation, OperationTransform, TextDelta, Transaction};use crate::errors::{ErrorBuilder, OTError, OTErrorCode};use indextree::{Arena, Children, FollowingSiblings, NodeId};diff --git a/shared-lib/lib-ot/src/core/document/document_operation.rs b/shared-lib/lib-ot/src/core/document/operation.rssimilarity index 99%rename from shared-lib/lib-ot/src/core/document/document_operation.rsrename to shared-lib/lib-ot/src/core/document/operation.rsindex 61d4a63ccd..5096ffec00 100644--- a/shared-lib/lib-ot/src/core/document/document_operation.rs+++ b/shared-lib/lib-ot/src/core/document/operation.rs@@ -1,4 +1,4 @@-use crate::core::document::position::Path;+use crate::core::document::path::Path;use crate::core::{Node, NodeAttributes, TextDelta};#[derive(Clone, serde::Serialize, serde::Deserialize)]diff --git a/shared-lib/lib-ot/src/core/document/position.rs b/shared-lib/lib-ot/src/core/document/path.rssimilarity index 100%rename from shared-lib/lib-ot/src/core/document/position.rsrename to shared-lib/lib-ot/src/core/document/path.rsdiff --git a/shared-lib/lib-ot/src/core/document/transaction.rs b/shared-lib/lib-ot/src/core/document/transaction.rsindex dfc9be4867..755e9419de 100644--- a/shared-lib/lib-ot/src/core/document/transaction.rs+++ b/shared-lib/lib-ot/src/core/document/transaction.rs@@ -1,4 +1,4 @@-use crate::core::document::position::Path;+use crate::core::document::path::Path;use crate::core::{Node, NodeAttributes, NodeOperation, NodeTree};use indextree::NodeId;