From 79dcf895b6ad944002f5bf2438e69df474b40e7e Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Fri, 29 Sep 2023 19:35:01 +0530 Subject: [PATCH] feat: licence header --- src/runner/target.rs | 1 + src/utils.rs | 21 +++++---------------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/src/runner/target.rs b/src/runner/target.rs index 08051d8..2d1a7c3 100644 --- a/src/runner/target.rs +++ b/src/runner/target.rs @@ -1,6 +1,7 @@ // SPDX-FileCopyrightText: 2023 Aravinth Manivannan // // SPDX-License-Identifier: AGPL-3.0-or-later + use std::fs; use std::path::Path; use std::path::PathBuf; diff --git a/src/utils.rs b/src/utils.rs index e290a7f..6758f55 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -1,19 +1,8 @@ -/* - * Copyright (C) 2022 Aravinth Manivannan - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ +// Copyright (C) 2022 Aravinth Manivannan +// SPDX-FileCopyrightText: 2023 Aravinth Manivannan +// +// SPDX-License-Identifier: AGPL-3.0-or-later + /// Get random string of specific length pub(crate) fn get_random(len: usize) -> String { use rand::{distributions::Alphanumeric, rngs::ThreadRng, thread_rng, Rng};