diff --git a/src/cli.rs b/src/cli.rs index ad4d77d..e68cfe5 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -1,3 +1,19 @@ +// A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow. +// Copyright (C) 2023 Christina Sørensen +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU 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 General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see https://www.gnu.org/gpl-3.0.html. + use crate::utils::dir::home_dir; use clap::{ArgAction, CommandFactory, Parser, Subcommand}; diff --git a/src/git.rs b/src/git.rs index e8afa9f..a293bbc 100644 --- a/src/git.rs +++ b/src/git.rs @@ -1,3 +1,19 @@ +// A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow. +// Copyright (C) 2023 Christina Sørensen +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU 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 General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see https://www.gnu.org/gpl-3.0.html. + use log::{debug, error, info, trace, warn}; use serde::{Deserialize, Serialize}; use std::os::unix::fs::symlink; diff --git a/src/main.rs b/src/main.rs index d04b4bd..364cf24 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,19 @@ +// A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow. +// Copyright (C) 2023 Christina Sørensen +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU 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 General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see https://www.gnu.org/gpl-3.0.html. + extern crate log; extern crate pretty_env_logger; diff --git a/src/utils.rs b/src/utils.rs index 3c695bc..6c70879 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -1,2 +1,18 @@ +// A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow. +// Copyright (C) 2023 Christina Sørensen +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU 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 General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see https://www.gnu.org/gpl-3.0.html. + pub mod dir; pub mod strings; diff --git a/src/utils/dir.rs b/src/utils/dir.rs index 14926c1..92c6889 100644 --- a/src/utils/dir.rs +++ b/src/utils/dir.rs @@ -1,3 +1,19 @@ +// A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow. +// Copyright (C) 2023 Christina Sørensen +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU 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 General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see https://www.gnu.org/gpl-3.0.html. + #![feature(stmt_expr_attributes)] use log::{debug, error, info, trace, warn}; diff --git a/src/utils/strings.rs b/src/utils/strings.rs index 8b13789..9c73d33 100644 --- a/src/utils/strings.rs +++ b/src/utils/strings.rs @@ -1 +1,15 @@ - +// A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow. +// Copyright (C) 2023 Christina Sørensen +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU 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 General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see https://www.gnu.org/gpl-3.0.html.