200403.5 · 4274075f6f4976329e42f8a63f17effc8a37e5c6
Remove outdated license headers (not strictly required by Apache-2.0)
reading declarations
@@ -186,7 +186,7 @@ APPENDIX: How to apply the Apache License to your work. same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright 2017 fd developers+Copyright 2017-2020 fd developers Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
build.rs
@@ -1,11 +1,3 @@-// Copyright (c) 2017 fd developers-// Licensed under the Apache License, Version 2.0-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,-// at your option. All files in the project carrying such-// notice may not be copied, modified, or distributed except-// according to those terms.- use clap::Shell; use std::fs; use std::io::{self, Write};
src/app.rs
@@ -1,10 +1,3 @@-// Copyright (c) 2017 fd developers-// Licensed under the Apache License, Version 2.0-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,-// at your option. All files in the project carrying such-// notice may not be copied, modified, or distributed except-// according to those terms. use std::collections::HashMap; use clap::{crate_version, App, AppSettings, Arg};
@@ -1,11 +1,3 @@-// Copyright (c) 2017 fd developers-// Licensed under the Apache License, Version 2.0-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,-// at your option. All files in the project carrying such-// notice may not be copied, modified, or distributed except-// according to those terms.- use std::io; use std::io::Write; use std::process::Command;
src/exec/input.rs
@@ -1,11 +1,3 @@-// Copyright (c) 2017 fd developers-// Licensed under the Apache License, Version 2.0-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,-// at your option. All files in the project carrying such-// notice may not be copied, modified, or distributed except-// according to those terms.- use std::path::MAIN_SEPARATOR; /// Removes the parent component of the path
@@ -1,11 +1,3 @@-// Copyright (c) 2017 fd developers-// Licensed under the Apache License, Version 2.0-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,-// at your option. All files in the project carrying such-// notice may not be copied, modified, or distributed except-// according to those terms.- use super::CommandTemplate; use crate::exit_codes::{merge_exitcodes, ExitCode}; use crate::walk::WorkerResult;
@@ -1,11 +1,3 @@-// Copyright (c) 2017 fd developers-// Licensed under the Apache License, Version 2.0-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,-// at your option. All files in the project carrying such-// notice may not be copied, modified, or distributed except-// according to those terms.- // TODO: Possible optimization could avoid pushing characters on a buffer. mod command; mod input;
src/exec/token.rs
@@ -1,11 +1,3 @@-// Copyright (c) 2017 fd developers-// Licensed under the Apache License, Version 2.0-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,-// at your option. All files in the project carrying such-// notice may not be copied, modified, or distributed except-// according to those terms.- use std::fmt::{self, Display, Formatter}; /// Designates what should be written to a buffer
src/fshelper/mod.rs
@@ -1,11 +1,3 @@-// Copyright (c) 2017 fd developers-// Licensed under the Apache License, Version 2.0-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,-// at your option. All files in the project carrying such-// notice may not be copied, modified, or distributed except-// according to those terms.- use std::env::current_dir; use std::fs; use std::io;
src/internal/mod.rs
@@ -1,11 +1,3 @@-// Copyright (c) 2017 fd developers-// Licensed under the Apache License, Version 2.0-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,-// at your option. All files in the project carrying such-// notice may not be copied, modified, or distributed except-// according to those terms.- use std::borrow::Cow; use std::ffi::{OsStr, OsString};
@@ -1,11 +1,3 @@-// Copyright (c) 2017 fd developers-// Licensed under the Apache License, Version 2.0-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,-// at your option. All files in the project carrying such-// notice may not be copied, modified, or distributed except-// according to those terms.- #[macro_use] mod internal;
@@ -1,11 +1,3 @@-// Copyright (c) 2017 fd developers-// Licensed under the Apache License, Version 2.0-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,-// at your option. All files in the project carrying such-// notice may not be copied, modified, or distributed except-// according to those terms.- use crate::exit_codes::ExitCode; use crate::internal::opts::FdOptions; use lscolors::{LsColors, Style};
@@ -1,11 +1,3 @@-// Copyright (c) 2017 fd developers-// Licensed under the Apache License, Version 2.0-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,-// at your option. All files in the project carrying such-// notice may not be copied, modified, or distributed except-// according to those terms.- use crate::exec; use crate::exit_codes::{merge_exitcodes, ExitCode}; use crate::fshelper;
@@ -1,11 +1,3 @@-// Copyright (c) 2017 fd developers-// Licensed under the Apache License, Version 2.0-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,-// at your option. All files in the project carrying such-// notice may not be copied, modified, or distributed except-// according to those terms.- use std; use std::env; use std::fs;
@@ -1,11 +1,3 @@-// Copyright (c) 2017 fd developers-// Licensed under the Apache License, Version 2.0-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,-// at your option. All files in the project carrying such-// notice may not be copied, modified, or distributed except-// according to those terms.- //! Integration tests for the CLI interface of fd. mod testenv;