mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-30 08:05:05 +00:00
7f6cf1e6d9
This commit moves much of the `commands` module that isn't specific to a particular command into a new `cli_util`. Much of this is actually not even CLI-specific, so we should move that further down into the library, but that can come later. That includes the code in `WorkspaceCommandHelper` for snapshotting the working copy and automatically importing/exporting to a colocated Git working copy.
25 lines
776 B
Rust
25 lines
776 B
Rust
// Copyright 2020 Google LLC
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// https://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
#![deny(unused_must_use)]
|
|
|
|
pub mod cli_util;
|
|
pub mod commands;
|
|
pub mod config;
|
|
pub mod diff_edit;
|
|
pub mod formatter;
|
|
pub mod graphlog;
|
|
pub mod template_parser;
|
|
pub mod templater;
|
|
pub mod ui;
|