Skip to content
Myr

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

15 files+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.81use std::io;2use std::io::Write;3use std::process::Command;4use std::sync::Mutex;
37 unmodified lines
modified: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.81use std::path::MAIN_SEPARATOR;23/// Removes the parent component of the path4pub fn basename(path: &str) -> &str {
109 unmodified lines
modified: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.81use super::CommandTemplate;2use crate::exit_codes::{merge_exitcodes, ExitCode};3use crate::walk::WorkerResult;4use std::path::PathBuf;
55 unmodified lines
modified: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.81// TODO: Possible optimization could avoid pushing characters on a buffer.2mod command;3mod input;4mod job;
339 unmodified lines
modified: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.81use std::fmt::{self, Display, Formatter};23/// Designates what should be written to a buffer4///
25 unmodified lines
modified: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.81use std::env::current_dir;2use std::fs;3use std::io;4#[cfg(any(unix, target_os = "redox"))]
62 unmodified lines
modified: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.81use std::borrow::Cow;2use std::ffi::{OsStr, OsString};34use regex_syntax::hir::Hir;
185 unmodified lines
modified: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.1use std::collections::HashMap;23use clap::{crate_version, App, AppSettings, Arg};4
498 unmodified lines
modified: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.81#[macro_use]2mod internal;34mod app;
312 unmodified lines
modified: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.81use crate::exit_codes::ExitCode;2use crate::internal::opts::FdOptions;3use lscolors::{LsColors, Style};4
95 unmodified lines
modified: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.81use crate::exec;2use crate::exit_codes::{merge_exitcodes, ExitCode};3use crate::fshelper;4use crate::internal::{opts::FdOptions, osstr_to_bytes, MAX_BUFFER_LENGTH};
438 unmodified lines
modified: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.81use std;2use std::env;3use std::fs;4use std::io;
262 unmodified lines
modified: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.81//! Integration tests for the CLI interface of fd.23mod testenv;4
1486 unmodified lines
modified: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.81use clap::Shell;2use std::fs;3use std::io::{self, Write};4use std::process::exit;
26 unmodified lines
modified:LICENSE-APACHE+1 added-1 removed
184 unmodified lines
185 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.188189Copyright 2017 fd developers189Copyright 2017-2020 fd developers190191Licensed under the Apache License, Version 2.0 (the "License");192you may not use this file except in compliance with the License.193You may obtain a copy of the License at
8 unmodified lines