From 6ce6751540ab7d145528c62b66cb6b621341b5b9 Mon Sep 17 00:00:00 2001 From: rhogenson Date: Wed, 14 Oct 2026 10:33:46 -0700 Subject: Add copyright notice --- 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 +++++++++++++++++ 5 files changed, 86 insertions(+), 1 deletion(-) (limited to 'internal') 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