From 5beb84b57543e78b673422b8e5e0a3c699227f06 Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Fri, 12 May 2023 15:40:33 +0200 Subject: [PATCH] Add copyright to util package --- internal/util/compress.go | 4 ++++ internal/util/copy.go | 7 ++++--- internal/util/fstat.go | 4 ++++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/internal/util/compress.go b/internal/util/compress.go index a7a36bf..0930f7e 100644 --- a/internal/util/compress.go +++ b/internal/util/compress.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 NHR@FAU, University Erlangen-Nuremberg. +// All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. package util import ( diff --git a/internal/util/copy.go b/internal/util/copy.go index f66b976..3527e1e 100644 --- a/internal/util/copy.go +++ b/internal/util/copy.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 NHR@FAU, University Erlangen-Nuremberg. +// All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. package util import ( @@ -47,9 +51,6 @@ func CopyFile(src, dst string) (err error) { return } -// CopyDir recursively copies a directory tree, attempting to preserve permissions. -// Source directory must exist, destination directory must *not* exist. -// Symlinks are ignored and skipped. func CopyDir(src string, dst string) (err error) { src = filepath.Clean(src) dst = filepath.Clean(dst) diff --git a/internal/util/fstat.go b/internal/util/fstat.go index 60cd68e..3361e39 100644 --- a/internal/util/fstat.go +++ b/internal/util/fstat.go @@ -1,3 +1,7 @@ +// Copyright (C) 2022 NHR@FAU, University Erlangen-Nuremberg. +// All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. package util import (