mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-29 20:43:37 +03:00
rename module snapshots to ops
This commit is contained in:
parent
289aafb496
commit
93d5e61530
@ -1,5 +1,5 @@
|
||||
use anyhow::Result;
|
||||
use gitbutler_core::{projects::Project, snapshots::oplog::Oplog};
|
||||
use gitbutler_core::{ops::oplog::Oplog, projects::Project};
|
||||
|
||||
use clap::{arg, Command};
|
||||
#[cfg(not(windows))]
|
||||
|
@ -25,12 +25,12 @@ pub mod git;
|
||||
pub mod id;
|
||||
pub mod keys;
|
||||
pub mod lock;
|
||||
pub mod ops;
|
||||
pub mod path;
|
||||
pub mod project_repository;
|
||||
pub mod projects;
|
||||
pub mod reader;
|
||||
pub mod sessions;
|
||||
pub mod snapshots;
|
||||
pub mod ssh;
|
||||
pub mod storage;
|
||||
pub mod time;
|
||||
|
@ -1,5 +1,5 @@
|
||||
use crate::{
|
||||
snapshots::entry::{OperationType, SnapshotDetails},
|
||||
ops::entry::{OperationType, SnapshotDetails},
|
||||
virtual_branches::Branch,
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
use crate::{
|
||||
error::Error,
|
||||
snapshots::{
|
||||
ops::{
|
||||
entry::{OperationType, SnapshotDetails},
|
||||
oplog::Oplog,
|
||||
},
|
||||
|
@ -25,7 +25,7 @@ use super::{
|
||||
branch_to_remote_branch, errors, target, RemoteBranch, VirtualBranchesHandle,
|
||||
};
|
||||
use crate::git::diff::{diff_files_into_hunks, trees, FileDiff};
|
||||
use crate::snapshots::snapshot::Snapshoter;
|
||||
use crate::ops::snapshot::Snapshoter;
|
||||
use crate::virtual_branches::branch::HunkHash;
|
||||
use crate::{
|
||||
dedup::{dedup, dedup_fmt},
|
||||
|
@ -1,8 +1,8 @@
|
||||
use crate::error::Error;
|
||||
use anyhow::Context;
|
||||
use gitbutler_core::{
|
||||
ops::{entry::Snapshot, oplog::Oplog},
|
||||
projects::{self, ProjectId},
|
||||
snapshots::{entry::Snapshot, oplog::Oplog},
|
||||
};
|
||||
use tauri::Manager;
|
||||
use tracing::instrument;
|
||||
|
@ -7,10 +7,10 @@ use std::sync::Arc;
|
||||
use std::{path, time};
|
||||
|
||||
use anyhow::{bail, Context, Result};
|
||||
use gitbutler_core::ops::entry::{OperationType, SnapshotDetails};
|
||||
use gitbutler_core::ops::oplog::Oplog;
|
||||
use gitbutler_core::projects::ProjectId;
|
||||
use gitbutler_core::sessions::SessionId;
|
||||
use gitbutler_core::snapshots::entry::{OperationType, SnapshotDetails};
|
||||
use gitbutler_core::snapshots::oplog::Oplog;
|
||||
use gitbutler_core::virtual_branches::VirtualBranches;
|
||||
use gitbutler_core::{
|
||||
assets, deltas, gb_repository, git, project_repository, projects, reader, sessions, users,
|
||||
|
Loading…
Reference in New Issue
Block a user