From 06b60313818b9d76d1ee73e71ba9ab4642390507 Mon Sep 17 00:00:00 2001 From: Uwe Krueger Date: Fri, 11 Feb 2022 17:37:34 +0100 Subject: [PATCH] update copyright --- README.md | 6 ++++++ cmd/play/main.go | 2 +- cmd/symlink/main.go | 2 +- cmd/vfs/main.go | 4 ++-- cmd/yamlfs/main.go | 2 +- pkg/composefs/compose.go | 2 +- pkg/composefs/doc.go | 2 +- pkg/cwdfs/cwd.go | 2 +- pkg/cwdfs/doc.go | 2 +- pkg/layerfs/doc.go | 2 +- pkg/layerfs/file.go | 2 +- pkg/layerfs/filedata.go | 2 +- pkg/layerfs/layer.go | 4 ++-- pkg/layerfs/layer_suite_test.go | 2 +- pkg/layerfs/layer_test.go | 2 +- pkg/memoryfs/dir.go | 2 +- pkg/memoryfs/doc.go | 2 +- pkg/memoryfs/filedata.go | 2 +- pkg/memoryfs/memory.go | 2 +- pkg/memoryfs/memory_suite_test.go | 2 +- pkg/memoryfs/memory_test.go | 2 +- pkg/osfs/doc.go | 2 +- pkg/osfs/osfs.go | 2 +- pkg/osfs/osfs_suite_test.go | 2 +- pkg/osfs/osfs_unix.go | 2 +- pkg/osfs/osfs_windows.go | 2 +- pkg/osfs/tempfs.go | 2 +- pkg/osfs/tempfs_test.go | 2 +- pkg/projectionfs/doc.go | 2 +- pkg/projectionfs/projection_suite_test.go | 2 +- pkg/projectionfs/projection_test.go | 2 +- pkg/projectionfs/projectionfs.go | 2 +- pkg/readonlyfs/doc.go | 2 +- pkg/readonlyfs/readonly_suite_test.go | 2 +- pkg/readonlyfs/readonly_test.go | 2 +- pkg/readonlyfs/readonlyfs.go | 2 +- pkg/test/standard.go | 2 +- pkg/test/testutils.go | 2 +- pkg/utils/base.go | 2 +- pkg/utils/eval.go | 2 +- pkg/utils/file.go | 2 +- pkg/utils/fileInfo.go | 2 +- pkg/utils/fssupport.go | 2 +- pkg/utils/mappedfs.go | 4 ++-- pkg/utils/sorter.go | 2 +- pkg/utils/utils.go | 2 +- pkg/vfs/errors.go | 2 +- pkg/vfs/errors_unix.go | 2 +- pkg/vfs/errors_windows.go | 2 +- pkg/vfs/eval.go | 2 +- pkg/vfs/interface.go | 2 +- pkg/vfs/utils.go | 2 +- pkg/vfs/vfs.go | 2 +- pkg/vfs/vfs_suite_test.go | 2 +- pkg/vfs/vfs_test.go | 2 +- pkg/vfs/walk.go | 2 +- pkg/yamlfs/doc.go | 2 +- pkg/yamlfs/filedata.go | 2 +- pkg/yamlfs/yamlfs.go | 2 +- pkg/yamlfs/yamlfs_suite_test.go | 2 +- pkg/yamlfs/yamlfs_test.go | 2 +- 61 files changed, 69 insertions(+), 63 deletions(-) diff --git a/README.md b/README.md index d9a9ce7..61f11ba 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ + ## VFS - A Virtual Filesystem for GO + +[![CI Build status](https://app.travis-ci.com/mandelsoft/vfs.svg?branch=master)](https://app.travis-ci.com/github/mandelsoft/vfs) +[![Go Report Card](https://goreportcard.com/badge/github.com/mandelsoft/vfs)](https://goreportcard.com/report/github.com/mandelsoft/vfs) + + A virtual filesystem enables programs to transparently work on any kind of filesystem-like data source besides the real operating system filesystem using a uniform single API. diff --git a/cmd/play/main.go b/cmd/play/main.go index c1fbec6..192eb80 100644 --- a/cmd/play/main.go +++ b/cmd/play/main.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/cmd/symlink/main.go b/cmd/symlink/main.go index 7c2c2dc..723463a 100644 --- a/cmd/symlink/main.go +++ b/cmd/symlink/main.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/cmd/vfs/main.go b/cmd/vfs/main.go index fd49ee1..068934d 100644 --- a/cmd/vfs/main.go +++ b/cmd/vfs/main.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * @@ -104,11 +104,11 @@ func main() { Error(fmt.Errorf("read 1 failed: %d %q", n, string(buf[:n]))) } n, err = f.Read(buf[:]) + Assert(err) if n != 5 && string(buf[:n]) != "test\n" { Error(fmt.Errorf("read 2 failed: %d %q", n, string(buf[:n]))) } f.Close() - list(wdfs, "d") list(wdfs, "pkg") } diff --git a/cmd/yamlfs/main.go b/cmd/yamlfs/main.go index 8275d40..d5c2855 100644 --- a/cmd/yamlfs/main.go +++ b/cmd/yamlfs/main.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/composefs/compose.go b/pkg/composefs/compose.go index 888ac47..2122de5 100644 --- a/pkg/composefs/compose.go +++ b/pkg/composefs/compose.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/composefs/doc.go b/pkg/composefs/doc.go index e0c1d8b..881109a 100644 --- a/pkg/composefs/doc.go +++ b/pkg/composefs/doc.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/cwdfs/cwd.go b/pkg/cwdfs/cwd.go index 936d92b..b7f1a3f 100644 --- a/pkg/cwdfs/cwd.go +++ b/pkg/cwdfs/cwd.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/cwdfs/doc.go b/pkg/cwdfs/doc.go index 75d1df9..215f8d2 100644 --- a/pkg/cwdfs/doc.go +++ b/pkg/cwdfs/doc.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/layerfs/doc.go b/pkg/layerfs/doc.go index 5964031..d3a0648 100644 --- a/pkg/layerfs/doc.go +++ b/pkg/layerfs/doc.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/layerfs/file.go b/pkg/layerfs/file.go index 55abc40..b3ff372 100644 --- a/pkg/layerfs/file.go +++ b/pkg/layerfs/file.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/layerfs/filedata.go b/pkg/layerfs/filedata.go index 9f92879..6041331 100644 --- a/pkg/layerfs/filedata.go +++ b/pkg/layerfs/filedata.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/layerfs/layer.go b/pkg/layerfs/layer.go index abfba37..be52566 100644 --- a/pkg/layerfs/layer.go +++ b/pkg/layerfs/layer.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * @@ -126,7 +126,7 @@ func (l *LayerFileSystem) create(name string, fn func(path string, deleted bool) path := vfs.Join(l.layer, parent.path, n) // entry was formerly deleted from layer, if - // - it is explicilty maked as deleted + // - it is explicitly marked as deleted // - the complete base folder content is marked as deleted AND the base layer contains the entry del := vfs.Join(l.layer, parent.path, del_prefix+n) deleted, _ := vfs.Exists(l.layer, del) diff --git a/pkg/layerfs/layer_suite_test.go b/pkg/layerfs/layer_suite_test.go index 05af937..8ccba46 100644 --- a/pkg/layerfs/layer_suite_test.go +++ b/pkg/layerfs/layer_suite_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/layerfs/layer_test.go b/pkg/layerfs/layer_test.go index f660735..55e9031 100644 --- a/pkg/layerfs/layer_test.go +++ b/pkg/layerfs/layer_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/memoryfs/dir.go b/pkg/memoryfs/dir.go index 77c4e91..e88f38c 100644 --- a/pkg/memoryfs/dir.go +++ b/pkg/memoryfs/dir.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/memoryfs/doc.go b/pkg/memoryfs/doc.go index 49a4ee0..5706b25 100644 --- a/pkg/memoryfs/doc.go +++ b/pkg/memoryfs/doc.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/memoryfs/filedata.go b/pkg/memoryfs/filedata.go index 58bca07..8ce4195 100644 --- a/pkg/memoryfs/filedata.go +++ b/pkg/memoryfs/filedata.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/memoryfs/memory.go b/pkg/memoryfs/memory.go index d8668a6..88e00ae 100644 --- a/pkg/memoryfs/memory.go +++ b/pkg/memoryfs/memory.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/memoryfs/memory_suite_test.go b/pkg/memoryfs/memory_suite_test.go index ea43591..e7451c9 100644 --- a/pkg/memoryfs/memory_suite_test.go +++ b/pkg/memoryfs/memory_suite_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/memoryfs/memory_test.go b/pkg/memoryfs/memory_test.go index cd5b3e6..1b5bc68 100644 --- a/pkg/memoryfs/memory_test.go +++ b/pkg/memoryfs/memory_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/osfs/doc.go b/pkg/osfs/doc.go index d2666d6..ae76ec6 100644 --- a/pkg/osfs/doc.go +++ b/pkg/osfs/doc.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/osfs/osfs.go b/pkg/osfs/osfs.go index 0852222..3b0e47b 100644 --- a/pkg/osfs/osfs.go +++ b/pkg/osfs/osfs.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/osfs/osfs_suite_test.go b/pkg/osfs/osfs_suite_test.go index 99adbc3..b48f2ee 100644 --- a/pkg/osfs/osfs_suite_test.go +++ b/pkg/osfs/osfs_suite_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/osfs/osfs_unix.go b/pkg/osfs/osfs_unix.go index ec9de1c..6605fbb 100644 --- a/pkg/osfs/osfs_unix.go +++ b/pkg/osfs/osfs_unix.go @@ -1,7 +1,7 @@ // +build !windows /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/osfs/osfs_windows.go b/pkg/osfs/osfs_windows.go index 5b43919..29c7111 100644 --- a/pkg/osfs/osfs_windows.go +++ b/pkg/osfs/osfs_windows.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/osfs/tempfs.go b/pkg/osfs/tempfs.go index 1973d93..3bf1463 100644 --- a/pkg/osfs/tempfs.go +++ b/pkg/osfs/tempfs.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/osfs/tempfs_test.go b/pkg/osfs/tempfs_test.go index 8b3c5a9..997adae 100644 --- a/pkg/osfs/tempfs_test.go +++ b/pkg/osfs/tempfs_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/projectionfs/doc.go b/pkg/projectionfs/doc.go index 92d938f..168f43c 100644 --- a/pkg/projectionfs/doc.go +++ b/pkg/projectionfs/doc.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/projectionfs/projection_suite_test.go b/pkg/projectionfs/projection_suite_test.go index aa810f1..d6192fa 100644 --- a/pkg/projectionfs/projection_suite_test.go +++ b/pkg/projectionfs/projection_suite_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/projectionfs/projection_test.go b/pkg/projectionfs/projection_test.go index 8a9ddab..38271f1 100644 --- a/pkg/projectionfs/projection_test.go +++ b/pkg/projectionfs/projection_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/projectionfs/projectionfs.go b/pkg/projectionfs/projectionfs.go index 65ad072..91e68c4 100644 --- a/pkg/projectionfs/projectionfs.go +++ b/pkg/projectionfs/projectionfs.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/readonlyfs/doc.go b/pkg/readonlyfs/doc.go index 4a03f95..03071a7 100644 --- a/pkg/readonlyfs/doc.go +++ b/pkg/readonlyfs/doc.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/readonlyfs/readonly_suite_test.go b/pkg/readonlyfs/readonly_suite_test.go index bba928e..19ab4c1 100644 --- a/pkg/readonlyfs/readonly_suite_test.go +++ b/pkg/readonlyfs/readonly_suite_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/readonlyfs/readonly_test.go b/pkg/readonlyfs/readonly_test.go index fe5dcaa..f4d5c78 100644 --- a/pkg/readonlyfs/readonly_test.go +++ b/pkg/readonlyfs/readonly_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/readonlyfs/readonlyfs.go b/pkg/readonlyfs/readonlyfs.go index b1ae3ec..5c7984a 100644 --- a/pkg/readonlyfs/readonlyfs.go +++ b/pkg/readonlyfs/readonlyfs.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/test/standard.go b/pkg/test/standard.go index 4dda388..8e7fd7c 100644 --- a/pkg/test/standard.go +++ b/pkg/test/standard.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/test/testutils.go b/pkg/test/testutils.go index 623084a..74f5eeb 100644 --- a/pkg/test/testutils.go +++ b/pkg/test/testutils.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/utils/base.go b/pkg/utils/base.go index a06be64..231b8e4 100644 --- a/pkg/utils/base.go +++ b/pkg/utils/base.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/utils/eval.go b/pkg/utils/eval.go index ff15ca5..e38007a 100644 --- a/pkg/utils/eval.go +++ b/pkg/utils/eval.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/utils/file.go b/pkg/utils/file.go index c11d502..01a8e86 100644 --- a/pkg/utils/file.go +++ b/pkg/utils/file.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/utils/fileInfo.go b/pkg/utils/fileInfo.go index 2a51fe7..bd6a03c 100644 --- a/pkg/utils/fileInfo.go +++ b/pkg/utils/fileInfo.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/utils/fssupport.go b/pkg/utils/fssupport.go index ecccaca..a14e8ce 100644 --- a/pkg/utils/fssupport.go +++ b/pkg/utils/fssupport.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/utils/mappedfs.go b/pkg/utils/mappedfs.go index ec1126c..183d840 100644 --- a/pkg/utils/mappedfs.go +++ b/pkg/utils/mappedfs.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * @@ -95,7 +95,7 @@ func (m *MappedFileSystem) mapPath(path string, link ...bool) (vfs.FileSystem, s case ".", "": continue case "..": - r, b = vfs.Split(m.base, r) + r, _ = vfs.Split(m.base, r) if r == "" { r = "/" } diff --git a/pkg/utils/sorter.go b/pkg/utils/sorter.go index 4eba261..5d9fb2a 100644 --- a/pkg/utils/sorter.go +++ b/pkg/utils/sorter.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/utils/utils.go b/pkg/utils/utils.go index dbb30c1..40835d5 100644 --- a/pkg/utils/utils.go +++ b/pkg/utils/utils.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/vfs/errors.go b/pkg/vfs/errors.go index f1afd84..d11a2e9 100644 --- a/pkg/vfs/errors.go +++ b/pkg/vfs/errors.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/vfs/errors_unix.go b/pkg/vfs/errors_unix.go index 8895144..93716f6 100644 --- a/pkg/vfs/errors_unix.go +++ b/pkg/vfs/errors_unix.go @@ -1,7 +1,7 @@ // +build !windows /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/vfs/errors_windows.go b/pkg/vfs/errors_windows.go index 0999c13..efc6ece 100644 --- a/pkg/vfs/errors_windows.go +++ b/pkg/vfs/errors_windows.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/vfs/eval.go b/pkg/vfs/eval.go index 6341c34..4bba749 100644 --- a/pkg/vfs/eval.go +++ b/pkg/vfs/eval.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/vfs/interface.go b/pkg/vfs/interface.go index 94c7c53..40db42b 100644 --- a/pkg/vfs/interface.go +++ b/pkg/vfs/interface.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/vfs/utils.go b/pkg/vfs/utils.go index 7513647..f02f37e 100644 --- a/pkg/vfs/utils.go +++ b/pkg/vfs/utils.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/vfs/vfs.go b/pkg/vfs/vfs.go index 40543b0..490510b 100644 --- a/pkg/vfs/vfs.go +++ b/pkg/vfs/vfs.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/vfs/vfs_suite_test.go b/pkg/vfs/vfs_suite_test.go index cf03d2e..97004eb 100644 --- a/pkg/vfs/vfs_suite_test.go +++ b/pkg/vfs/vfs_suite_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/vfs/vfs_test.go b/pkg/vfs/vfs_test.go index 582bb86..6fd8034 100644 --- a/pkg/vfs/vfs_test.go +++ b/pkg/vfs/vfs_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/vfs/walk.go b/pkg/vfs/walk.go index 491c3ac..74e2b4f 100644 --- a/pkg/vfs/walk.go +++ b/pkg/vfs/walk.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/yamlfs/doc.go b/pkg/yamlfs/doc.go index 4952c37..a961fe8 100644 --- a/pkg/yamlfs/doc.go +++ b/pkg/yamlfs/doc.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/yamlfs/filedata.go b/pkg/yamlfs/filedata.go index 6091248..6f95b39 100644 --- a/pkg/yamlfs/filedata.go +++ b/pkg/yamlfs/filedata.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/yamlfs/yamlfs.go b/pkg/yamlfs/yamlfs.go index 32cc5ae..30a3a37 100644 --- a/pkg/yamlfs/yamlfs.go +++ b/pkg/yamlfs/yamlfs.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/yamlfs/yamlfs_suite_test.go b/pkg/yamlfs/yamlfs_suite_test.go index d4cd5aa..8a7e045 100644 --- a/pkg/yamlfs/yamlfs_suite_test.go +++ b/pkg/yamlfs/yamlfs_suite_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file * diff --git a/pkg/yamlfs/yamlfs_test.go b/pkg/yamlfs/yamlfs_test.go index d1bd7ce..7bdaea6 100644 --- a/pkg/yamlfs/yamlfs_test.go +++ b/pkg/yamlfs/yamlfs_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2020 Mandelsoft. All rights reserved. + * Copyright 2022 Mandelsoft. All rights reserved. * This file is licensed under the Apache Software License, v. 2 except as noted * otherwise in the LICENSE file *