Remove outdated license headers (not strictly required by Apache-2.0)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by sharkdp · committed by sharkdp · parent b9d0e72 · Browse files · 15 files·+1 added−112 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
15 files+1 added−112 removed
- tests:+0 added−16 removed
- other:+1 added−96 removed
Provenance
- Commit
4274075- Tree
b6f7213- Author
sharkdp <davidpeter@web.de>- Committer
sharkdp <davidpeter@web.de>- Parent
b9d0e72
15 files changed+1 added−112 removed
modified:src/exec/command.rs-8 removed
1-// Copyright (c) 2017 fd developers2-// Licensed under the Apache License, Version 2.03-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>4-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,5-// at your option. All files in the project carrying such6-// notice may not be copied, modified, or distributed except7-// according to those terms.8-1 use std::io;2 use std::io::Write;3 use std::process::Command;4 use std::sync::Mutex;37 unmodified linesmodified:src/exec/input.rs-8 removed
1-// Copyright (c) 2017 fd developers2-// Licensed under the Apache License, Version 2.03-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>4-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,5-// at your option. All files in the project carrying such6-// notice may not be copied, modified, or distributed except7-// according to those terms.8-1 use std::path::MAIN_SEPARATOR;2 3 /// Removes the parent component of the path4 pub fn basename(path: &str) -> &str {109 unmodified linesmodified:src/exec/job.rs-8 removed
1-// Copyright (c) 2017 fd developers2-// Licensed under the Apache License, Version 2.03-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>4-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,5-// at your option. All files in the project carrying such6-// notice may not be copied, modified, or distributed except7-// according to those terms.8-1 use super::CommandTemplate;2 use crate::exit_codes::{merge_exitcodes, ExitCode};3 use crate::walk::WorkerResult;4 use std::path::PathBuf;55 unmodified linesmodified:src/exec/mod.rs-8 removed
1-// Copyright (c) 2017 fd developers2-// Licensed under the Apache License, Version 2.03-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>4-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,5-// at your option. All files in the project carrying such6-// notice may not be copied, modified, or distributed except7-// according to those terms.8-1 // TODO: Possible optimization could avoid pushing characters on a buffer.2 mod command;3 mod input;4 mod job;339 unmodified linesmodified:src/exec/token.rs-8 removed
1-// Copyright (c) 2017 fd developers2-// Licensed under the Apache License, Version 2.03-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>4-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,5-// at your option. All files in the project carrying such6-// notice may not be copied, modified, or distributed except7-// according to those terms.8-1 use std::fmt::{self, Display, Formatter};2 3 /// Designates what should be written to a buffer4 ///25 unmodified linesmodified:src/fshelper/mod.rs-8 removed
1-// Copyright (c) 2017 fd developers2-// Licensed under the Apache License, Version 2.03-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>4-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,5-// at your option. All files in the project carrying such6-// notice may not be copied, modified, or distributed except7-// according to those terms.8-1 use std::env::current_dir;2 use std::fs;3 use std::io;4 #[cfg(any(unix, target_os = "redox"))]62 unmodified linesmodified:src/internal/mod.rs-8 removed
1-// Copyright (c) 2017 fd developers2-// Licensed under the Apache License, Version 2.03-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>4-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,5-// at your option. All files in the project carrying such6-// notice may not be copied, modified, or distributed except7-// according to those terms.8-1 use std::borrow::Cow;2 use std::ffi::{OsStr, OsString};3 4 use regex_syntax::hir::Hir;185 unmodified linesmodified:src/app.rs-7 removed
1-// Copyright (c) 2017 fd developers2-// Licensed under the Apache License, Version 2.03-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>4-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,5-// at your option. All files in the project carrying such6-// notice may not be copied, modified, or distributed except7-// according to those terms.1 use std::collections::HashMap;2 3 use clap::{crate_version, App, AppSettings, Arg};4 498 unmodified linesmodified:src/main.rs-8 removed
1-// Copyright (c) 2017 fd developers2-// Licensed under the Apache License, Version 2.03-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>4-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,5-// at your option. All files in the project carrying such6-// notice may not be copied, modified, or distributed except7-// according to those terms.8-1 #[macro_use]2 mod internal;3 4 mod app;312 unmodified linesmodified:src/output.rs-8 removed
1-// Copyright (c) 2017 fd developers2-// Licensed under the Apache License, Version 2.03-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>4-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,5-// at your option. All files in the project carrying such6-// notice may not be copied, modified, or distributed except7-// according to those terms.8-1 use crate::exit_codes::ExitCode;2 use crate::internal::opts::FdOptions;3 use lscolors::{LsColors, Style};4 95 unmodified linesmodified:src/walk.rs-8 removed
1-// Copyright (c) 2017 fd developers2-// Licensed under the Apache License, Version 2.03-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>4-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,5-// at your option. All files in the project carrying such6-// notice may not be copied, modified, or distributed except7-// according to those terms.8-1 use crate::exec;2 use crate::exit_codes::{merge_exitcodes, ExitCode};3 use crate::fshelper;4 use crate::internal::{opts::FdOptions, osstr_to_bytes, MAX_BUFFER_LENGTH};438 unmodified linesmodified:tests/testenv/mod.rs-8 removed
1-// Copyright (c) 2017 fd developers2-// Licensed under the Apache License, Version 2.03-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>4-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,5-// at your option. All files in the project carrying such6-// notice may not be copied, modified, or distributed except7-// according to those terms.8-1 use std;2 use std::env;3 use std::fs;4 use std::io;262 unmodified linesmodified:tests/tests.rs-8 removed
1-// Copyright (c) 2017 fd developers2-// Licensed under the Apache License, Version 2.03-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>4-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,5-// at your option. All files in the project carrying such6-// notice may not be copied, modified, or distributed except7-// according to those terms.8-1 //! Integration tests for the CLI interface of fd.2 3 mod testenv;4 1486 unmodified linesmodified:build.rs-8 removed
1-// Copyright (c) 2017 fd developers2-// Licensed under the Apache License, Version 2.03-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>4-// or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>,5-// at your option. All files in the project carrying such6-// notice may not be copied, modified, or distributed except7-// according to those terms.8-1 use clap::Shell;2 use std::fs;3 use std::io::{self, Write};4 use std::process::exit;26 unmodified linesmodified:LICENSE-APACHE+1 added-1 removed
184 unmodified lines185 file or class name and description of purpose be included on the186 same "printed page" as the copyright notice for easier187 identification within third-party archives.188 189-Copyright 2017 fd developers189+Copyright 2017-2020 fd developers190 191 Licensed under the Apache License, Version 2.0 (the "License");192 you may not use this file except in compliance with the License.193 You may obtain a copy of the License at8 unmodified lines