mirror of
https://github.com/facebook/sapling.git
synced 2024-10-16 11:52:02 +03:00
542d1f93d3
Summary: This commit manually synchronizes the internal move of fbcode/scm/mononoke under fbcode/eden/mononoke which couldn't be performed by ShipIt automatically. Reviewed By: StanislavGlebik Differential Revision: D19722832 fbshipit-source-id: 52fbc8bc42a8940b39872dfb8b00ce9c0f6b0800
22 lines
678 B
Rust
22 lines
678 B
Rust
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This software may be used and distributed according to the terms of the
|
|
* GNU General Public License version 2.
|
|
*/
|
|
|
|
use crate::changeset_path::ChangesetPathContext;
|
|
|
|
/// A path difference between two commits.
|
|
///
|
|
/// A ChangesetPathDiffContext shows the difference between two corresponding
|
|
/// files in the commits.
|
|
#[derive(Clone, Debug)]
|
|
pub enum ChangesetPathDiffContext {
|
|
Added(ChangesetPathContext),
|
|
Removed(ChangesetPathContext),
|
|
Changed(ChangesetPathContext, ChangesetPathContext),
|
|
Copied(ChangesetPathContext, ChangesetPathContext),
|
|
Moved(ChangesetPathContext, ChangesetPathContext),
|
|
}
|