just playing with tangled
at gvimdiff 1.5 kB view raw
1// Copyright 2020 The Jujutsu Authors 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// https://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15#![deny(unused_must_use)] 16 17pub mod cleanup_guard; 18pub mod cli_util; 19pub mod command_error; 20pub mod commands; 21pub mod commit_templater; 22pub mod complete; 23pub mod config; 24pub mod description_util; 25pub mod diff_util; 26pub mod formatter; 27pub mod generic_templater; 28#[cfg(feature = "git")] 29pub mod git_util; 30#[cfg(not(feature = "git"))] 31/// A stub module that provides a no-op implementation of some of the functions 32/// in the `git` module. 33pub mod git_util { 34 use jj_lib::repo::ReadonlyRepo; 35 use jj_lib::workspace::Workspace; 36 37 pub fn is_colocated_git_workspace(_workspace: &Workspace, _repo: &ReadonlyRepo) -> bool { 38 false 39 } 40} 41pub mod graphlog; 42pub mod merge_tools; 43pub mod movement_util; 44pub mod operation_templater; 45mod progress; 46pub mod revset_util; 47pub mod template_builder; 48pub mod template_parser; 49pub mod templater; 50pub mod text_util; 51pub mod time_util; 52pub mod ui;