From 9ab0ddb2d02b2c06540ed66d97da189e1ac5d8be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=A4felfinger?= Date: Sat, 23 Mar 2019 22:40:56 +0100 Subject: [PATCH] updated copyright notice at the top of the files --- internal/app/app.go | 5 +++++ internal/app/appContext.go | 6 ++++++ internal/app/category.go | 5 +++++ internal/app/datastore.go | 5 +++++ internal/app/datastore_test.go | 5 +++++ .../pkg/localFileStructure/ScanLocalFileStructure_test.go | 5 +++++ internal/pkg/localFileStructure/checksumCalculator.go | 5 +++++ internal/pkg/localFileStructure/checksumCalculator_test.go | 5 +++++ internal/pkg/localFileStructure/filesystemScanner.go | 5 +++++ internal/pkg/piwigo/category.go | 5 +++++ internal/pkg/piwigo/picture.go | 5 +++++ internal/pkg/piwigo/piwigoContext.go | 5 +++++ internal/pkg/piwigo/responses.go | 5 +++++ 13 files changed, 66 insertions(+) diff --git a/internal/app/app.go b/internal/app/app.go index 169a629..1f6a4a4 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -1,3 +1,8 @@ +/* + * Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved. + * This application is licensed under GPLv2. See the LICENSE file in the root directory of the project. + */ + package app import ( diff --git a/internal/app/appContext.go b/internal/app/appContext.go index 0ff28b8..df84501 100644 --- a/internal/app/appContext.go +++ b/internal/app/appContext.go @@ -1,3 +1,8 @@ +/* + * Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved. + * This application is licensed under GPLv2. See the LICENSE file in the root directory of the project. + */ + package app import ( @@ -14,6 +19,7 @@ type appContext struct { localRootPath string } + func (c *appContext) UseMetadataStore(connectionString string) error { if connectionString == "" { return errors.New("missing connectionString to use metadata store!") diff --git a/internal/app/category.go b/internal/app/category.go index 65b376b..3e95dad 100644 --- a/internal/app/category.go +++ b/internal/app/category.go @@ -1,3 +1,8 @@ +/* + * Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved. + * This application is licensed under GPLv2. See the LICENSE file in the root directory of the project. + */ + package app import ( diff --git a/internal/app/datastore.go b/internal/app/datastore.go index c82058d..03a8919 100644 --- a/internal/app/datastore.go +++ b/internal/app/datastore.go @@ -1,3 +1,8 @@ +/* + * Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved. + * This application is licensed under GPLv2. See the LICENSE file in the root directory of the project. + */ + package app //go:generate mockgen -destination=./datastore_mock_test.go -package=app git.haefelfinger.net/piwigo/PiwigoDirectoryUploader/internal/app ImageMetadataProvider diff --git a/internal/app/datastore_test.go b/internal/app/datastore_test.go index 2e46607..04b16e3 100644 --- a/internal/app/datastore_test.go +++ b/internal/app/datastore_test.go @@ -1,3 +1,8 @@ +/* + * Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved. + * This application is licensed under GPLv2. See the LICENSE file in the root directory of the project. + */ + package app import ( diff --git a/internal/pkg/localFileStructure/ScanLocalFileStructure_test.go b/internal/pkg/localFileStructure/ScanLocalFileStructure_test.go index 5e4b5a7..b875f5b 100644 --- a/internal/pkg/localFileStructure/ScanLocalFileStructure_test.go +++ b/internal/pkg/localFileStructure/ScanLocalFileStructure_test.go @@ -1,3 +1,8 @@ +/* + * Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved. + * This application is licensed under GPLv2. See the LICENSE file in the root directory of the project. + */ + package localFileStructure import "testing" diff --git a/internal/pkg/localFileStructure/checksumCalculator.go b/internal/pkg/localFileStructure/checksumCalculator.go index 71dc98b..e97613d 100644 --- a/internal/pkg/localFileStructure/checksumCalculator.go +++ b/internal/pkg/localFileStructure/checksumCalculator.go @@ -1,3 +1,8 @@ +/* + * Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved. + * This application is licensed under GPLv2. See the LICENSE file in the root directory of the project. + */ + package localFileStructure import ( diff --git a/internal/pkg/localFileStructure/checksumCalculator_test.go b/internal/pkg/localFileStructure/checksumCalculator_test.go index ac549c7..5c03941 100644 --- a/internal/pkg/localFileStructure/checksumCalculator_test.go +++ b/internal/pkg/localFileStructure/checksumCalculator_test.go @@ -1,3 +1,8 @@ +/* + * Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved. + * This application is licensed under GPLv2. See the LICENSE file in the root directory of the project. + */ + package localFileStructure import ( diff --git a/internal/pkg/localFileStructure/filesystemScanner.go b/internal/pkg/localFileStructure/filesystemScanner.go index 7223150..ba3cf7f 100644 --- a/internal/pkg/localFileStructure/filesystemScanner.go +++ b/internal/pkg/localFileStructure/filesystemScanner.go @@ -1,3 +1,8 @@ +/* + * Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved. + * This application is licensed under GPLv2. See the LICENSE file in the root directory of the project. + */ + package localFileStructure import ( diff --git a/internal/pkg/piwigo/category.go b/internal/pkg/piwigo/category.go index 8805ff3..572b97a 100644 --- a/internal/pkg/piwigo/category.go +++ b/internal/pkg/piwigo/category.go @@ -1,3 +1,8 @@ +/* + * Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved. + * This application is licensed under GPLv2. See the LICENSE file in the root directory of the project. + */ + package piwigo import ( diff --git a/internal/pkg/piwigo/picture.go b/internal/pkg/piwigo/picture.go index 9553f55..2f72aa4 100644 --- a/internal/pkg/piwigo/picture.go +++ b/internal/pkg/piwigo/picture.go @@ -1,3 +1,8 @@ +/* + * Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved. + * This application is licensed under GPLv2. See the LICENSE file in the root directory of the project. + */ + package piwigo import ( diff --git a/internal/pkg/piwigo/piwigoContext.go b/internal/pkg/piwigo/piwigoContext.go index e5516fc..2c5cc3c 100644 --- a/internal/pkg/piwigo/piwigoContext.go +++ b/internal/pkg/piwigo/piwigoContext.go @@ -1,3 +1,8 @@ +/* + * Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved. + * This application is licensed under GPLv2. See the LICENSE file in the root directory of the project. + */ + package piwigo import ( diff --git a/internal/pkg/piwigo/responses.go b/internal/pkg/piwigo/responses.go index 533fcc5..9805111 100644 --- a/internal/pkg/piwigo/responses.go +++ b/internal/pkg/piwigo/responses.go @@ -1,3 +1,8 @@ +/* + * Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved. + * This application is licensed under GPLv2. See the LICENSE file in the root directory of the project. + */ + package piwigo type responseStatuser interface {