From 6ce6751540ab7d145528c62b66cb6b621341b5b9 Mon Sep 17 00:00:00 2001 From: rhogenson Date: Wed, 14 Oct 2026 10:33:46 -0700 Subject: Add copyright notice --- README.md | 4 ++++ ccp.go | 17 +++++++++++++++++ internal/cp/cp.go | 17 +++++++++++++++++ internal/render/render.go | 17 +++++++++++++++++ internal/wfs/osfs/osfs.go | 17 +++++++++++++++++ internal/wfs/sftpfs/sftpfs.go | 19 ++++++++++++++++++- internal/wfs/wfs.go | 17 +++++++++++++++++ 7 files changed, 107 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2bc7067..c9875cc 100644 --- a/README.md +++ b/README.md @@ -10,3 +10,7 @@ ccp is your new favorite replacement for scp. - 🌐 Transfer files to and from network servers with SFTP - 🔐 Supports SSH public keys - 🔥 Written in blazingly fast Go + +## Contact + +Please send inquiries or patches to <r@roseh.moe> diff --git a/ccp.go b/ccp.go index ec8d743..d012ded 100644 --- a/ccp.go +++ b/ccp.go @@ -1,3 +1,20 @@ +// Copyright 2026 Rose Hogenson +// +// This file is part of ccp. +// +// Ccp 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. +// +// Ccp 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 +// ccp. If not, see . + // The ccp ("cute copy") command copies files and directories while showing a // colorful progress bar. It supports SFTP remote file copies similar to scp. package main diff --git a/internal/cp/cp.go b/internal/cp/cp.go index bd7a456..4cc43c7 100644 --- a/internal/cp/cp.go +++ b/internal/cp/cp.go @@ -1,3 +1,20 @@ +// Copyright 2026 Rose Hogenson +// +// This file is part of ccp. +// +// Ccp 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. +// +// Ccp 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 +// ccp. If not, see . + // Package cp implements a concurrent file copy over the abstract [wfs.FS] // interface. It reports progress and errors using the [Progress] interface. package cp diff --git a/internal/render/render.go b/internal/render/render.go index c43d2e8..cf1dc60 100644 --- a/internal/render/render.go +++ b/internal/render/render.go @@ -1,3 +1,20 @@ +// Copyright 2026 Rose Hogenson +// +// This file is part of ccp. +// +// Ccp 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. +// +// Ccp 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 +// ccp. If not, see . + // Package render renders to the terminal using ANSI escape sequences. package render diff --git a/internal/wfs/osfs/osfs.go b/internal/wfs/osfs/osfs.go index e06c9c6..5b5c224 100644 --- a/internal/wfs/osfs/osfs.go +++ b/internal/wfs/osfs/osfs.go @@ -1,3 +1,20 @@ +// Copyright 2026 Rose Hogenson +// +// This file is part of ccp. +// +// Ccp 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. +// +// Ccp 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 +// ccp. If not, see . + // Package osfs implements [wfs.FS] backed by the local filesystem. package osfs diff --git a/internal/wfs/sftpfs/sftpfs.go b/internal/wfs/sftpfs/sftpfs.go index 748e4ad..bb4351d 100644 --- a/internal/wfs/sftpfs/sftpfs.go +++ b/internal/wfs/sftpfs/sftpfs.go @@ -1,3 +1,20 @@ +// Copyright 2026 Rose Hogenson +// +// This file is part of ccp. +// +// Ccp 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. +// +// Ccp 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 +// ccp. If not, see . + // Package sftpfs implements [wfs.FS] using [github.com/pkg/sftp]. package sftpfs @@ -13,11 +30,11 @@ import ( "sync" "github.com/pkg/sftp" - "roseh.moe/cmd/ccp/internal/wfs" "golang.org/x/crypto/ssh" "golang.org/x/crypto/ssh/agent" "golang.org/x/crypto/ssh/knownhosts" "golang.org/x/term" + "roseh.moe/cmd/ccp/internal/wfs" ) var ( diff --git a/internal/wfs/wfs.go b/internal/wfs/wfs.go index 4168b58..10c2077 100644 --- a/internal/wfs/wfs.go +++ b/internal/wfs/wfs.go @@ -1,3 +1,20 @@ +// Copyright 2026 Rose Hogenson +// +// This file is part of ccp. +// +// Ccp 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. +// +// Ccp 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 +// ccp. If not, see . + // Package wfs implements a "writable file system" in the spirit of [fs.FS]. package wfs -- cgit v1.3.1