From d1bcc36b54793bb3e45d5acecf9d8c503e883011 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 14 Oct 2024 21:01:27 +0200 Subject: chore(treewide): Add missing copyright header --- yt/src/unreachable.rs | 10 ++++++++++ yt/src/watch/events/handlers/mod.rs | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/yt/src/unreachable.rs b/yt/src/unreachable.rs index 3db77d5..3ce895c 100644 --- a/yt/src/unreachable.rs +++ b/yt/src/unreachable.rs @@ -1,3 +1,13 @@ +// yt - A fully featured command line YouTube client +// +// Copyright (C) 2024 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Yt. +// +// You should have received a copy of the License along with this program. +// If not, see . + // This has been taken from: https://gitlab.torproject.org/tpo/core/arti/-/issues/950 // The functions here should be annotated with `#[inline(always)]`. diff --git a/yt/src/watch/events/handlers/mod.rs b/yt/src/watch/events/handlers/mod.rs index eca016a..3215fff 100644 --- a/yt/src/watch/events/handlers/mod.rs +++ b/yt/src/watch/events/handlers/mod.rs @@ -1,3 +1,13 @@ +// yt - A fully featured command line YouTube client +// +// Copyright (C) 2024 Benedikt Peetz +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of Yt. +// +// You should have received a copy of the License along with this program. +// If not, see . + use std::{env::current_exe, mem}; use crate::{app::App, comments, storage::video_database::setters::set_state_change}; -- cgit 1.4.1