diff --git a/app/accoper/createacc.go b/app/accoper/createacc.go index e81f786..c5468e0 100644 --- a/app/accoper/createacc.go +++ b/app/accoper/createacc.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accoper diff --git a/app/accoper/delacc.go b/app/accoper/delacc.go index 860dd7e..1d7650c 100644 --- a/app/accoper/delacc.go +++ b/app/accoper/delacc.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accoper diff --git a/app/accoper/getacc.go b/app/accoper/getacc.go index 1cb77fc..6e3e1f1 100644 --- a/app/accoper/getacc.go +++ b/app/accoper/getacc.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accoper diff --git a/app/accoper/listacc.go b/app/accoper/listacc.go index c2241fb..c518def 100644 --- a/app/accoper/listacc.go +++ b/app/accoper/listacc.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accoper diff --git a/app/accoper/operator.go b/app/accoper/operator.go index 5a2310c..e07a2f1 100644 --- a/app/accoper/operator.go +++ b/app/accoper/operator.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accoper diff --git a/app/accoper/updacc.go b/app/accoper/updacc.go index 0a0bcab..6010b62 100644 --- a/app/accoper/updacc.go +++ b/app/accoper/updacc.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accoper diff --git a/app/config/config.go b/app/config/config.go index 301790f..d8dcb24 100644 --- a/app/config/config.go +++ b/app/config/config.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package config diff --git a/app/fileoper/delcats.go b/app/fileoper/delcats.go index 4ded91c..ca2e97b 100644 --- a/app/fileoper/delcats.go +++ b/app/fileoper/delcats.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package fileoper diff --git a/app/fileoper/delfile.go b/app/fileoper/delfile.go index 906316a..a2ca698 100644 --- a/app/fileoper/delfile.go +++ b/app/fileoper/delfile.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package fileoper diff --git a/app/fileoper/fileinfo.go b/app/fileoper/fileinfo.go index b54baf0..ccf3927 100644 --- a/app/fileoper/fileinfo.go +++ b/app/fileoper/fileinfo.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package fileoper diff --git a/app/fileoper/getfile.go b/app/fileoper/getfile.go index 4dcdf8e..a0f33a3 100644 --- a/app/fileoper/getfile.go +++ b/app/fileoper/getfile.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package fileoper diff --git a/app/fileoper/listcats.go b/app/fileoper/listcats.go index 02074d2..767b109 100644 --- a/app/fileoper/listcats.go +++ b/app/fileoper/listcats.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package fileoper diff --git a/app/fileoper/listfiles.go b/app/fileoper/listfiles.go index b05b391..332f82d 100644 --- a/app/fileoper/listfiles.go +++ b/app/fileoper/listfiles.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package fileoper diff --git a/app/fileoper/operator.go b/app/fileoper/operator.go index 790bdc2..f7c994f 100644 --- a/app/fileoper/operator.go +++ b/app/fileoper/operator.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package fileoper diff --git a/app/fileoper/putfile.go b/app/fileoper/putfile.go index c8e4f13..9437fb6 100644 --- a/app/fileoper/putfile.go +++ b/app/fileoper/putfile.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package fileoper diff --git a/app/handler/aaafunc.go b/app/handler/aaafunc.go index 53eed07..b9162d5 100644 --- a/app/handler/aaafunc.go +++ b/app/handler/aaafunc.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package handler diff --git a/app/handler/account.go b/app/handler/account.go index 73e72e2..b1f7800 100644 --- a/app/handler/account.go +++ b/app/handler/account.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package handler diff --git a/app/handler/blob.go b/app/handler/blob.go index 433f6af..840c653 100644 --- a/app/handler/blob.go +++ b/app/handler/blob.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package handler diff --git a/app/handler/file.go b/app/handler/file.go index ec1c651..4f91ff2 100644 --- a/app/handler/file.go +++ b/app/handler/file.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package handler diff --git a/app/handler/grant.go b/app/handler/grant.go index cdf8f36..f45a81c 100644 --- a/app/handler/grant.go +++ b/app/handler/grant.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package handler diff --git a/app/handler/handler.go b/app/handler/handler.go index cc80470..090f9f5 100644 --- a/app/handler/handler.go +++ b/app/handler/handler.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package handler diff --git a/app/handler/manifest.go b/app/handler/manifest.go index 1453708..074bae3 100644 --- a/app/handler/manifest.go +++ b/app/handler/manifest.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package handler diff --git a/app/handler/notfound.go b/app/handler/notfound.go index 253f742..0b33e53 100644 --- a/app/handler/notfound.go +++ b/app/handler/notfound.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package handler diff --git a/app/handler/response.go b/app/handler/response.go index 482dbbe..a8d5380 100644 --- a/app/handler/response.go +++ b/app/handler/response.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package handler diff --git a/app/handler/service.go b/app/handler/service.go index 2f41a08..1482130 100644 --- a/app/handler/service.go +++ b/app/handler/service.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package handler diff --git a/app/handler/version.go b/app/handler/version.go index 76062cf..58b7b80 100644 --- a/app/handler/version.go +++ b/app/handler/version.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package handler diff --git a/app/imageoper/blobexist.go b/app/imageoper/blobexist.go index 582f300..17ce8ab 100644 --- a/app/imageoper/blobexist.go +++ b/app/imageoper/blobexist.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imageoper diff --git a/app/imageoper/const.go b/app/imageoper/const.go index 823c820..42b7154 100644 --- a/app/imageoper/const.go +++ b/app/imageoper/const.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imageoper diff --git a/app/imageoper/delblob.go b/app/imageoper/delblob.go index 5c19469..0f4d6fa 100644 --- a/app/imageoper/delblob.go +++ b/app/imageoper/delblob.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imageoper diff --git a/app/imageoper/delman.go b/app/imageoper/delman.go index 673f3b1..f046a80 100644 --- a/app/imageoper/delman.go +++ b/app/imageoper/delman.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imageoper diff --git a/app/imageoper/getblob.go b/app/imageoper/getblob.go index 9f9a775..7bf489d 100644 --- a/app/imageoper/getblob.go +++ b/app/imageoper/getblob.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imageoper diff --git a/app/imageoper/getman.go b/app/imageoper/getman.go index 448980e..648bcc8 100644 --- a/app/imageoper/getman.go +++ b/app/imageoper/getman.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imageoper diff --git a/app/imageoper/getrefer.go b/app/imageoper/getrefer.go index d8bb198..de9bded 100644 --- a/app/imageoper/getrefer.go +++ b/app/imageoper/getrefer.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imageoper diff --git a/app/imageoper/gettags.go b/app/imageoper/gettags.go index cf0c655..3fefd65 100644 --- a/app/imageoper/gettags.go +++ b/app/imageoper/gettags.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imageoper diff --git a/app/imageoper/listman.go b/app/imageoper/listman.go index 8adf0e3..174aeae 100644 --- a/app/imageoper/listman.go +++ b/app/imageoper/listman.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imageoper diff --git a/app/imageoper/manexist.go b/app/imageoper/manexist.go index 934462a..681787a 100644 --- a/app/imageoper/manexist.go +++ b/app/imageoper/manexist.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imageoper diff --git a/app/imageoper/ociaux.go b/app/imageoper/ociaux.go index c2081ca..8619274 100644 --- a/app/imageoper/ociaux.go +++ b/app/imageoper/ociaux.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imageoper diff --git a/app/imageoper/operator.go b/app/imageoper/operator.go index 7c1026c..12c5b4f 100644 --- a/app/imageoper/operator.go +++ b/app/imageoper/operator.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imageoper diff --git a/app/imageoper/patchupload.go b/app/imageoper/patchupload.go index d06792d..788c553 100644 --- a/app/imageoper/patchupload.go +++ b/app/imageoper/patchupload.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imageoper diff --git a/app/imageoper/postupload.go b/app/imageoper/postupload.go index 5105bee..9c04898 100644 --- a/app/imageoper/postupload.go +++ b/app/imageoper/postupload.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imageoper diff --git a/app/imageoper/putman.go b/app/imageoper/putman.go index a307ecc..b348317 100644 --- a/app/imageoper/putman.go +++ b/app/imageoper/putman.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imageoper diff --git a/app/imageoper/putupload.go b/app/imageoper/putupload.go index 7aad3a0..8f2cf7b 100644 --- a/app/imageoper/putupload.go +++ b/app/imageoper/putupload.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imageoper diff --git a/app/imageoper/service.go b/app/imageoper/service.go index 32c12ee..49a0c13 100644 --- a/app/imageoper/service.go +++ b/app/imageoper/service.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imageoper diff --git a/app/imageoper/version.go b/app/imageoper/version.go index 6695548..3a4b780 100644 --- a/app/imageoper/version.go +++ b/app/imageoper/version.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imageoper diff --git a/app/logger/logger.go b/app/logger/logger.go index ced0698..a025f4c 100644 --- a/app/logger/logger.go +++ b/app/logger/logger.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package logger diff --git a/app/logger/logger_test.go b/app/logger/logger_test.go index 9026484..da05a0c 100644 --- a/app/logger/logger_test.go +++ b/app/logger/logger_test.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package logger diff --git a/app/maindb/blob.go b/app/maindb/blob.go index aaa3932..cb69f9e 100644 --- a/app/maindb/blob.go +++ b/app/maindb/blob.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package maindb diff --git a/app/maindb/file.go b/app/maindb/file.go index b1e4656..4e7cccf 100644 --- a/app/maindb/file.go +++ b/app/maindb/file.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package maindb diff --git a/app/maindb/file_test.go b/app/maindb/file_test.go index 30ff1a3..24d0f3c 100644 --- a/app/maindb/file_test.go +++ b/app/maindb/file_test.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package maindb diff --git a/app/maindb/grant.go b/app/maindb/grant.go index 5c4f1de..b22e522 100644 --- a/app/maindb/grant.go +++ b/app/maindb/grant.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package maindb diff --git a/app/maindb/grant_test.go b/app/maindb/grant_test.go index 884336c..640a479 100644 --- a/app/maindb/grant_test.go +++ b/app/maindb/grant_test.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package maindb diff --git a/app/maindb/init.go b/app/maindb/init.go index ddde373..ebe8596 100644 --- a/app/maindb/init.go +++ b/app/maindb/init.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package maindb diff --git a/app/maindb/maindb.go b/app/maindb/maindb.go index e23617d..e288164 100644 --- a/app/maindb/maindb.go +++ b/app/maindb/maindb.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package maindb diff --git a/app/maindb/manifest.go b/app/maindb/manifest.go index e0cb36d..80e04e1 100644 --- a/app/maindb/manifest.go +++ b/app/maindb/manifest.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package maindb diff --git a/app/maindb/scheme.go b/app/maindb/scheme.go index e125019..efdec26 100644 --- a/app/maindb/scheme.go +++ b/app/maindb/scheme.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package maindb diff --git a/app/router/bindobj.go b/app/router/bindobj.go index 63b122a..823c765 100644 --- a/app/router/bindobj.go +++ b/app/router/bindobj.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package router diff --git a/app/router/context.go b/app/router/context.go index 4023115..ece21c7 100644 --- a/app/router/context.go +++ b/app/router/context.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package router diff --git a/app/router/corsmw.go b/app/router/corsmw.go index af85ba9..d552cb5 100644 --- a/app/router/corsmw.go +++ b/app/router/corsmw.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package router diff --git a/app/router/loggingmw.go b/app/router/loggingmw.go index 64f44bd..0c5e650 100644 --- a/app/router/loggingmw.go +++ b/app/router/loggingmw.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package router diff --git a/app/router/pathc.go b/app/router/pathc.go index 67da777..da9eb0f 100644 --- a/app/router/pathc.go +++ b/app/router/pathc.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package router diff --git a/app/router/pathc_test.go b/app/router/pathc_test.go index 3509477..3e2feee 100644 --- a/app/router/pathc_test.go +++ b/app/router/pathc_test.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package router diff --git a/app/router/recovermw.go b/app/router/recovermw.go index bc5749c..423d50a 100644 --- a/app/router/recovermw.go +++ b/app/router/recovermw.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package router diff --git a/app/router/router.go b/app/router/router.go index 571c600..ddd4e4c 100644 --- a/app/router/router.go +++ b/app/router/router.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package router diff --git a/app/router/router_test.go b/app/router/router_test.go index 446dc67..fdef75f 100644 --- a/app/router/router_test.go +++ b/app/router/router_test.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package router diff --git a/app/server/server.go b/app/server/server.go index 236f55e..527abcf 100644 --- a/app/server/server.go +++ b/app/server/server.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package server @@ -378,6 +374,45 @@ func (srv *Server) Build() error { func (srv *Server) Run() error { var err error + if srv.conf.AsDaemon { + // Redirect stdin + nullFile, err := os.OpenFile("/dev/null", os.O_RDWR, 0) + if err != nil { + return err + } + err = syscall.Dup2(int(nullFile.Fd()), int(os.Stdin.Fd())) + if err != nil { + return err + } + // Redirect stderr and stout + logFile, err := os.OpenFile(srv.conf.Logpath, os.O_WRONLY|os.O_CREATE|os.O_APPEND, 0640) + if err != nil { + return err + } + err = syscall.Dup2(int(logFile.Fd()), int(os.Stdout.Fd())) + if err != nil { + return err + } + err = syscall.Dup2(int(logFile.Fd()), int(os.Stderr.Fd())) + if err != nil { + return err + } + srv.logf = logFile + // Write process ID + pidFile, err := os.OpenFile(srv.conf.Runpath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0640) + if err != nil { + return err + } + defer pidFile.Close() + currPid := os.Getpid() + _, err = pidFile.WriteString(strconv.Itoa(currPid)) + if err != nil { + return err + } + // Start log rotator + srv.Rotator() + } + currUser, err := user.Current() if err != nil { return err @@ -470,51 +505,6 @@ func (srv *Server) Daemonize() error { if err != nil { return err } - - // Redirect stdin - nullFile, err := os.OpenFile("/dev/null", os.O_RDWR, 0) - if err != nil { - return err - } - err = syscall.Dup2(int(nullFile.Fd()), int(os.Stdin.Fd())) - if err != nil { - return err - } - // Redirect stderr and stout - logdir := filepath.Dir(srv.conf.Logpath) - err = os.MkdirAll(logdir, 0750) - if err != nil { - return err - } - logFile, err := os.OpenFile(srv.conf.Logpath, os.O_WRONLY|os.O_CREATE|os.O_APPEND, 0640) - if err != nil { - return err - } - err = syscall.Dup2(int(logFile.Fd()), int(os.Stdout.Fd())) - if err != nil { - return err - } - err = syscall.Dup2(int(logFile.Fd()), int(os.Stderr.Fd())) - if err != nil { - return err - } - srv.logf = logFile - // Write process ID - rundir := filepath.Dir(srv.conf.Runpath) - err = os.MkdirAll(rundir, 0750) - if err != nil { - return err - } - pidFile, err := os.OpenFile(srv.conf.Runpath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0640) - if err != nil { - return err - } - defer pidFile.Close() - currPid := os.Getpid() - _, err = pidFile.WriteString(strconv.Itoa(currPid)) - if err != nil { - return err - } } return err } diff --git a/app/service/service.go b/app/service/service.go index b4b0b47..aab294d 100644 --- a/app/service/service.go +++ b/app/service/service.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package service diff --git a/app/storage/blob.go b/app/storage/blob.go index d49732e..e669f00 100644 --- a/app/storage/blob.go +++ b/app/storage/blob.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package storage diff --git a/app/storage/file.go b/app/storage/file.go index a5a53c1..2b0f613 100644 --- a/app/storage/file.go +++ b/app/storage/file.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package storage diff --git a/app/storage/store.go b/app/storage/store.go index 6d35fef..3ee1141 100644 --- a/app/storage/store.go +++ b/app/storage/store.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package storage diff --git a/cmd/mstorectl/accountcmd/acccmd.go b/cmd/mstorectl/accountcmd/acccmd.go index 39735ae..dc8d97b 100644 --- a/cmd/mstorectl/accountcmd/acccmd.go +++ b/cmd/mstorectl/accountcmd/acccmd.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accountcmd diff --git a/cmd/mstorectl/accountcmd/createacc.go b/cmd/mstorectl/accountcmd/createacc.go index f9d457e..417b304 100644 --- a/cmd/mstorectl/accountcmd/createacc.go +++ b/cmd/mstorectl/accountcmd/createacc.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accountcmd diff --git a/cmd/mstorectl/accountcmd/creategrant.go b/cmd/mstorectl/accountcmd/creategrant.go index 4d235c2..4b0dff2 100644 --- a/cmd/mstorectl/accountcmd/creategrant.go +++ b/cmd/mstorectl/accountcmd/creategrant.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accountcmd diff --git a/cmd/mstorectl/accountcmd/delacc.go b/cmd/mstorectl/accountcmd/delacc.go index 029bccc..b3e2bb3 100644 --- a/cmd/mstorectl/accountcmd/delacc.go +++ b/cmd/mstorectl/accountcmd/delacc.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accountcmd diff --git a/cmd/mstorectl/accountcmd/delgrant.go b/cmd/mstorectl/accountcmd/delgrant.go index cc46210..a0818a9 100644 --- a/cmd/mstorectl/accountcmd/delgrant.go +++ b/cmd/mstorectl/accountcmd/delgrant.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accountcmd diff --git a/cmd/mstorectl/accountcmd/getacc.go b/cmd/mstorectl/accountcmd/getacc.go index 2ca959b..4a61557 100644 --- a/cmd/mstorectl/accountcmd/getacc.go +++ b/cmd/mstorectl/accountcmd/getacc.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accountcmd diff --git a/cmd/mstorectl/accountcmd/getgrant.go b/cmd/mstorectl/accountcmd/getgrant.go index b34cb58..e1062e1 100644 --- a/cmd/mstorectl/accountcmd/getgrant.go +++ b/cmd/mstorectl/accountcmd/getgrant.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accountcmd diff --git a/cmd/mstorectl/accountcmd/grantcmd.go b/cmd/mstorectl/accountcmd/grantcmd.go index be3fb0f..60b85a1 100644 --- a/cmd/mstorectl/accountcmd/grantcmd.go +++ b/cmd/mstorectl/accountcmd/grantcmd.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accountcmd diff --git a/cmd/mstorectl/accountcmd/listacc.go b/cmd/mstorectl/accountcmd/listacc.go index cd32d72..7065c32 100644 --- a/cmd/mstorectl/accountcmd/listacc.go +++ b/cmd/mstorectl/accountcmd/listacc.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accountcmd diff --git a/cmd/mstorectl/accountcmd/listgrant.go b/cmd/mstorectl/accountcmd/listgrant.go index ade8880..90126b2 100644 --- a/cmd/mstorectl/accountcmd/listgrant.go +++ b/cmd/mstorectl/accountcmd/listgrant.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accountcmd diff --git a/cmd/mstorectl/accountcmd/printresp.go b/cmd/mstorectl/accountcmd/printresp.go index a432144..8ae2213 100644 --- a/cmd/mstorectl/accountcmd/printresp.go +++ b/cmd/mstorectl/accountcmd/printresp.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accountcmd diff --git a/cmd/mstorectl/accountcmd/updacc.go b/cmd/mstorectl/accountcmd/updacc.go index bc4d491..f49f886 100644 --- a/cmd/mstorectl/accountcmd/updacc.go +++ b/cmd/mstorectl/accountcmd/updacc.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accountcmd diff --git a/cmd/mstorectl/accountcmd/updgrant.go b/cmd/mstorectl/accountcmd/updgrant.go index 7f8d7e1..ac8013c 100644 --- a/cmd/mstorectl/accountcmd/updgrant.go +++ b/cmd/mstorectl/accountcmd/updgrant.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accountcmd diff --git a/cmd/mstorectl/filecmd/delcoll.go b/cmd/mstorectl/filecmd/delcoll.go index 33e1cae..a7e68e8 100644 --- a/cmd/mstorectl/filecmd/delcoll.go +++ b/cmd/mstorectl/filecmd/delcoll.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecmd diff --git a/cmd/mstorectl/filecmd/delfile.go b/cmd/mstorectl/filecmd/delfile.go index a0f0294..d975fa8 100644 --- a/cmd/mstorectl/filecmd/delfile.go +++ b/cmd/mstorectl/filecmd/delfile.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecmd diff --git a/cmd/mstorectl/filecmd/expfiles.go b/cmd/mstorectl/filecmd/expfiles.go index 64687c3..2900e57 100644 --- a/cmd/mstorectl/filecmd/expfiles.go +++ b/cmd/mstorectl/filecmd/expfiles.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecmd diff --git a/cmd/mstorectl/filecmd/filecmd.go b/cmd/mstorectl/filecmd/filecmd.go index f5058b4..b58f6e4 100644 --- a/cmd/mstorectl/filecmd/filecmd.go +++ b/cmd/mstorectl/filecmd/filecmd.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecmd diff --git a/cmd/mstorectl/filecmd/fileinfo.go b/cmd/mstorectl/filecmd/fileinfo.go index 5eaed1f..6aa9ab6 100644 --- a/cmd/mstorectl/filecmd/fileinfo.go +++ b/cmd/mstorectl/filecmd/fileinfo.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecmd diff --git a/cmd/mstorectl/filecmd/getfile.go b/cmd/mstorectl/filecmd/getfile.go index d539f89..263580f 100644 --- a/cmd/mstorectl/filecmd/getfile.go +++ b/cmd/mstorectl/filecmd/getfile.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecmd diff --git a/cmd/mstorectl/filecmd/impfiles.go b/cmd/mstorectl/filecmd/impfiles.go index 0a36a03..a44eb08 100644 --- a/cmd/mstorectl/filecmd/impfiles.go +++ b/cmd/mstorectl/filecmd/impfiles.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecmd diff --git a/cmd/mstorectl/filecmd/listcolls.go b/cmd/mstorectl/filecmd/listcolls.go index 2330e7c..0d12962 100644 --- a/cmd/mstorectl/filecmd/listcolls.go +++ b/cmd/mstorectl/filecmd/listcolls.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecmd diff --git a/cmd/mstorectl/filecmd/listfiles.go b/cmd/mstorectl/filecmd/listfiles.go index 62f8132..517ebd6 100644 --- a/cmd/mstorectl/filecmd/listfiles.go +++ b/cmd/mstorectl/filecmd/listfiles.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecmd diff --git a/cmd/mstorectl/filecmd/putfile.go b/cmd/mstorectl/filecmd/putfile.go index c9c8a96..bc0fabd 100644 --- a/cmd/mstorectl/filecmd/putfile.go +++ b/cmd/mstorectl/filecmd/putfile.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecmd diff --git a/cmd/mstorectl/imagecmd/catimages.go b/cmd/mstorectl/imagecmd/catimages.go index 1c4f823..8558e47 100644 --- a/cmd/mstorectl/imagecmd/catimages.go +++ b/cmd/mstorectl/imagecmd/catimages.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imagecmd diff --git a/cmd/mstorectl/imagecmd/delimage.go b/cmd/mstorectl/imagecmd/delimage.go index fe49805..96d465c 100644 --- a/cmd/mstorectl/imagecmd/delimage.go +++ b/cmd/mstorectl/imagecmd/delimage.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imagecmd diff --git a/cmd/mstorectl/imagecmd/imagecmd.go b/cmd/mstorectl/imagecmd/imagecmd.go index 9b14543..ab8a113 100644 --- a/cmd/mstorectl/imagecmd/imagecmd.go +++ b/cmd/mstorectl/imagecmd/imagecmd.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imagecmd diff --git a/cmd/mstorectl/imagecmd/imageman.go b/cmd/mstorectl/imagecmd/imageman.go index 607dfdc..1e120cb 100644 --- a/cmd/mstorectl/imagecmd/imageman.go +++ b/cmd/mstorectl/imagecmd/imageman.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imagecmd diff --git a/cmd/mstorectl/imagecmd/imagetags.go b/cmd/mstorectl/imagecmd/imagetags.go index 7efe189..cdcc22a 100644 --- a/cmd/mstorectl/imagecmd/imagetags.go +++ b/cmd/mstorectl/imagecmd/imagetags.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imagecmd diff --git a/cmd/mstorectl/imagecmd/printresp.go b/cmd/mstorectl/imagecmd/printresp.go index f4753de..fb0319f 100644 --- a/cmd/mstorectl/imagecmd/printresp.go +++ b/cmd/mstorectl/imagecmd/printresp.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imagecmd diff --git a/cmd/mstorectl/imagecmd/pullimage.go b/cmd/mstorectl/imagecmd/pullimage.go index 7eb6a7d..40a62a1 100644 --- a/cmd/mstorectl/imagecmd/pullimage.go +++ b/cmd/mstorectl/imagecmd/pullimage.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imagecmd diff --git a/cmd/mstorectl/imagecmd/pushimage.go b/cmd/mstorectl/imagecmd/pushimage.go index c809c86..30d15b3 100644 --- a/cmd/mstorectl/imagecmd/pushimage.go +++ b/cmd/mstorectl/imagecmd/pushimage.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package imagecmd diff --git a/cmd/mstorectl/main.go b/cmd/mstorectl/main.go index 9aa3e19..b76d877 100644 --- a/cmd/mstorectl/main.go +++ b/cmd/mstorectl/main.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package main diff --git a/cmd/mstorectl/util/util.go b/cmd/mstorectl/util/util.go index 5353112..e301b44 100644 --- a/cmd/mstorectl/util/util.go +++ b/cmd/mstorectl/util/util.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package util diff --git a/cmd/mstored/main.go b/cmd/mstored/main.go index ac7b74a..871102b 100644 --- a/cmd/mstored/main.go +++ b/cmd/mstored/main.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package main diff --git a/cmd/mstored/starter/starter.go b/cmd/mstored/starter/starter.go index 9aeef40..1124627 100644 --- a/cmd/mstored/starter/starter.go +++ b/cmd/mstored/starter/starter.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package starter @@ -67,7 +61,6 @@ func (sta *Starter) run(cmd *cobra.Command, args []string) error { if err != nil { return err } - srv.Rotator() err = srv.Run() if err != nil { return err diff --git a/pkg/accntcli/httpcall.go b/pkg/accntcli/httpcall.go index 5c848eb..ad545a8 100644 --- a/pkg/accntcli/httpcall.go +++ b/pkg/accntcli/httpcall.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package accntcli diff --git a/pkg/auxhttp/basic.go b/pkg/auxhttp/basic.go index a143005..b32240d 100644 --- a/pkg/auxhttp/basic.go +++ b/pkg/auxhttp/basic.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package auxhttp diff --git a/pkg/auxhttp/crange.go b/pkg/auxhttp/crange.go index 95e6ad4..924945b 100644 --- a/pkg/auxhttp/crange.go +++ b/pkg/auxhttp/crange.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package auxhttp diff --git a/pkg/auxpwd/passwd.go b/pkg/auxpwd/passwd.go index 20d0431..71f9d4c 100644 --- a/pkg/auxpwd/passwd.go +++ b/pkg/auxpwd/passwd.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package auxpwd diff --git a/pkg/auxpwd/passwd_test.go b/pkg/auxpwd/passwd_test.go index fae0454..0bedfef 100644 --- a/pkg/auxpwd/passwd_test.go +++ b/pkg/auxpwd/passwd_test.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package auxpwd diff --git a/pkg/auxtool/cleandir.go b/pkg/auxtool/cleandir.go index 396874e..897fc34 100644 --- a/pkg/auxtool/cleandir.go +++ b/pkg/auxtool/cleandir.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package auxtool diff --git a/pkg/auxtool/randstr.go b/pkg/auxtool/randstr.go index 8829d19..2929bc7 100644 --- a/pkg/auxtool/randstr.go +++ b/pkg/auxtool/randstr.go @@ -1,14 +1,9 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ /* - * Copyright 2019 Oleg Borodin */ package auxtool diff --git a/pkg/auxtool/tmpfile.go b/pkg/auxtool/tmpfile.go index 5fd7083..6376a89 100644 --- a/pkg/auxtool/tmpfile.go +++ b/pkg/auxtool/tmpfile.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package auxtool diff --git a/pkg/auxtool/unixnow.go b/pkg/auxtool/unixnow.go index bb55ed5..c4e6ae4 100644 --- a/pkg/auxtool/unixnow.go +++ b/pkg/auxtool/unixnow.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package auxtool diff --git a/pkg/auxutar/utar.go b/pkg/auxutar/utar.go index eaba1d5..4d49ed9 100644 --- a/pkg/auxutar/utar.go +++ b/pkg/auxutar/utar.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package auxutar diff --git a/pkg/auxuuid/uuid.go b/pkg/auxuuid/uuid.go index 09d1866..b84c925 100644 --- a/pkg/auxuuid/uuid.go +++ b/pkg/auxuuid/uuid.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package auxuuid diff --git a/pkg/auxx509/x509cert.go b/pkg/auxx509/x509cert.go index 00d0348..756500f 100644 --- a/pkg/auxx509/x509cert.go +++ b/pkg/auxx509/x509cert.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package auxx509 diff --git a/pkg/auxx509/x509cert_test.go b/pkg/auxx509/x509cert_test.go index 47f8c2f..f907bb1 100644 --- a/pkg/auxx509/x509cert_test.go +++ b/pkg/auxx509/x509cert_test.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package auxx509 diff --git a/pkg/descr/account.go b/pkg/descr/account.go index 2a2240e..84ac076 100644 --- a/pkg/descr/account.go +++ b/pkg/descr/account.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package descr diff --git a/pkg/descr/blob.go b/pkg/descr/blob.go index 5e1c460..9945cf5 100644 --- a/pkg/descr/blob.go +++ b/pkg/descr/blob.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package descr diff --git a/pkg/descr/file.go b/pkg/descr/file.go index 76712fb..ea5618a 100644 --- a/pkg/descr/file.go +++ b/pkg/descr/file.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package descr diff --git a/pkg/descr/grant.go b/pkg/descr/grant.go index 8140be5..089b0be 100644 --- a/pkg/descr/grant.go +++ b/pkg/descr/grant.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package descr diff --git a/pkg/descr/manifest.go b/pkg/descr/manifest.go index a7daf94..b926c3c 100644 --- a/pkg/descr/manifest.go +++ b/pkg/descr/manifest.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package descr diff --git a/pkg/descr/server.go b/pkg/descr/server.go index 8009567..6a4b857 100644 --- a/pkg/descr/server.go +++ b/pkg/descr/server.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package descr diff --git a/pkg/digest/digest.go b/pkg/digest/digest.go index 484ae13..5b985db 100644 --- a/pkg/digest/digest.go +++ b/pkg/digest/digest.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package digest diff --git a/pkg/filecli/authbas.go b/pkg/filecli/authbas.go index d6524d0..ae581e2 100644 --- a/pkg/filecli/authbas.go +++ b/pkg/filecli/authbas.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecli diff --git a/pkg/filecli/client.go b/pkg/filecli/client.go index b987148..a7a00a9 100644 --- a/pkg/filecli/client.go +++ b/pkg/filecli/client.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecli diff --git a/pkg/filecli/copyctx.go b/pkg/filecli/copyctx.go index 897e4da..17d45a6 100644 --- a/pkg/filecli/copyctx.go +++ b/pkg/filecli/copyctx.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecli diff --git a/pkg/filecli/delcoll.go b/pkg/filecli/delcoll.go index 05f8e05..7aad1f0 100644 --- a/pkg/filecli/delcoll.go +++ b/pkg/filecli/delcoll.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecli diff --git a/pkg/filecli/delfile.go b/pkg/filecli/delfile.go index 589a832..c1d264e 100644 --- a/pkg/filecli/delfile.go +++ b/pkg/filecli/delfile.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecli diff --git a/pkg/filecli/fileinfo.go b/pkg/filecli/fileinfo.go index 21650ce..175bdce 100644 --- a/pkg/filecli/fileinfo.go +++ b/pkg/filecli/fileinfo.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecli diff --git a/pkg/filecli/getfile.go b/pkg/filecli/getfile.go index 1dc9dc8..29d84c6 100644 --- a/pkg/filecli/getfile.go +++ b/pkg/filecli/getfile.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecli diff --git a/pkg/filecli/listcoll.go b/pkg/filecli/listcoll.go index 62a3206..378e84a 100644 --- a/pkg/filecli/listcoll.go +++ b/pkg/filecli/listcoll.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecli diff --git a/pkg/filecli/listfiles.go b/pkg/filecli/listfiles.go index 6a48990..4517007 100644 --- a/pkg/filecli/listfiles.go +++ b/pkg/filecli/listfiles.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecli diff --git a/pkg/filecli/putfile.go b/pkg/filecli/putfile.go index 36e48be..11bf8d9 100644 --- a/pkg/filecli/putfile.go +++ b/pkg/filecli/putfile.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecli diff --git a/pkg/filecli/referer.go b/pkg/filecli/referer.go index a367726..3a1f2d1 100644 --- a/pkg/filecli/referer.go +++ b/pkg/filecli/referer.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package filecli diff --git a/pkg/gcrcli/client.go b/pkg/gcrcli/client.go index ab38b63..87e245e 100644 --- a/pkg/gcrcli/client.go +++ b/pkg/gcrcli/client.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package gcrcli diff --git a/pkg/gcrcli/imageaux.go b/pkg/gcrcli/imageaux.go index e7f3fdb..b0b9782 100644 --- a/pkg/gcrcli/imageaux.go +++ b/pkg/gcrcli/imageaux.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package gcrcli diff --git a/pkg/gcrcli/imagedelete.go b/pkg/gcrcli/imagedelete.go index c83a4e3..a625555 100644 --- a/pkg/gcrcli/imagedelete.go +++ b/pkg/gcrcli/imagedelete.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package gcrcli diff --git a/pkg/gcrcli/imageinfo.go b/pkg/gcrcli/imageinfo.go index 9030ba8..a938514 100644 --- a/pkg/gcrcli/imageinfo.go +++ b/pkg/gcrcli/imageinfo.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package gcrcli diff --git a/pkg/gcrcli/imagepull.go b/pkg/gcrcli/imagepull.go index de936ce..d5a8b87 100644 --- a/pkg/gcrcli/imagepull.go +++ b/pkg/gcrcli/imagepull.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package gcrcli diff --git a/pkg/gcrcli/imagepush.go b/pkg/gcrcli/imagepush.go index 71a2d04..397b535 100644 --- a/pkg/gcrcli/imagepush.go +++ b/pkg/gcrcli/imagepush.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package gcrcli diff --git a/pkg/repocli/blobexist.go b/pkg/repocli/blobexist.go index ce79209..fe40203 100644 --- a/pkg/repocli/blobexist.go +++ b/pkg/repocli/blobexist.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/blobexist_test.go b/pkg/repocli/blobexist_test.go index b75f9f4..4c4594b 100644 --- a/pkg/repocli/blobexist_test.go +++ b/pkg/repocli/blobexist_test.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package repocli diff --git a/pkg/repocli/client.go b/pkg/repocli/client.go index 396cf21..98e9f87 100644 --- a/pkg/repocli/client.go +++ b/pkg/repocli/client.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package repocli diff --git a/pkg/repocli/copywctx.go b/pkg/repocli/copywctx.go index a46e1a2..7620bd2 100644 --- a/pkg/repocli/copywctx.go +++ b/pkg/repocli/copywctx.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package repocli diff --git a/pkg/repocli/copywctx_test.go b/pkg/repocli/copywctx_test.go index 12355bf..117f962 100644 --- a/pkg/repocli/copywctx_test.go +++ b/pkg/repocli/copywctx_test.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package repocli diff --git a/pkg/repocli/delblob.go b/pkg/repocli/delblob.go index 262f4e1..e153a1f 100644 --- a/pkg/repocli/delblob.go +++ b/pkg/repocli/delblob.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package repocli diff --git a/pkg/repocli/delman.go b/pkg/repocli/delman.go index ec0a7c7..7d3667f 100644 --- a/pkg/repocli/delman.go +++ b/pkg/repocli/delman.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/getblob.go b/pkg/repocli/getblob.go index f285980..ca963ef 100644 --- a/pkg/repocli/getblob.go +++ b/pkg/repocli/getblob.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/getblob_test.go b/pkg/repocli/getblob_test.go index 719884b..fab7718 100644 --- a/pkg/repocli/getblob_test.go +++ b/pkg/repocli/getblob_test.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/getcatalog.go b/pkg/repocli/getcatalog.go index 14c0756..3cf2116 100644 --- a/pkg/repocli/getcatalog.go +++ b/pkg/repocli/getcatalog.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/getman.go b/pkg/repocli/getman.go index a212b0e..271aaea 100644 --- a/pkg/repocli/getman.go +++ b/pkg/repocli/getman.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/getman_test.go b/pkg/repocli/getman_test.go index e976c66..9695c2f 100644 --- a/pkg/repocli/getman_test.go +++ b/pkg/repocli/getman_test.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/getreferers.go b/pkg/repocli/getreferers.go index 422febc..8471073 100644 --- a/pkg/repocli/getreferers.go +++ b/pkg/repocli/getreferers.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/gettags.go b/pkg/repocli/gettags.go index 083dc1d..b465076 100644 --- a/pkg/repocli/gettags.go +++ b/pkg/repocli/gettags.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/gettoken.go b/pkg/repocli/gettoken.go index 1390034..7947c09 100644 --- a/pkg/repocli/gettoken.go +++ b/pkg/repocli/gettoken.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/gettoken_test.go b/pkg/repocli/gettoken_test.go index 812fcf3..892fc21 100644 --- a/pkg/repocli/gettoken_test.go +++ b/pkg/repocli/gettoken_test.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/getupload.go b/pkg/repocli/getupload.go index 0794fc4..f75cf59 100644 --- a/pkg/repocli/getupload.go +++ b/pkg/repocli/getupload.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/getupload_test.go b/pkg/repocli/getupload_test.go index 8e9fb17..277f98a 100644 --- a/pkg/repocli/getupload_test.go +++ b/pkg/repocli/getupload_test.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/imager.go b/pkg/repocli/imager.go index 50be0a2..7316f38 100644 --- a/pkg/repocli/imager.go +++ b/pkg/repocli/imager.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/imager_test.go b/pkg/repocli/imager_test.go index 0c4a862..4504238 100644 --- a/pkg/repocli/imager_test.go +++ b/pkg/repocli/imager_test.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/manexist.go b/pkg/repocli/manexist.go index d326a13..cbacf99 100644 --- a/pkg/repocli/manexist.go +++ b/pkg/repocli/manexist.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/manexist_test.go b/pkg/repocli/manexist_test.go index ba98ec7..f367d52 100644 --- a/pkg/repocli/manexist_test.go +++ b/pkg/repocli/manexist_test.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/patchupload.go b/pkg/repocli/patchupload.go index 9aa5cea..b646cce 100644 --- a/pkg/repocli/patchupload.go +++ b/pkg/repocli/patchupload.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/pullimage.go b/pkg/repocli/pullimage.go index d77da33..441c60b 100644 --- a/pkg/repocli/pullimage.go +++ b/pkg/repocli/pullimage.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/pullimage_test.go b/pkg/repocli/pullimage_test.go index 28fcccf..1c63b5f 100644 --- a/pkg/repocli/pullimage_test.go +++ b/pkg/repocli/pullimage_test.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/pushimage.go b/pkg/repocli/pushimage.go index 45b5b2d..4198945 100644 --- a/pkg/repocli/pushimage.go +++ b/pkg/repocli/pushimage.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/pushimage_test.go b/pkg/repocli/pushimage_test.go index ea82fa7..805e87e 100644 --- a/pkg/repocli/pushimage_test.go +++ b/pkg/repocli/pushimage_test.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/putman.go b/pkg/repocli/putman.go index 2216cfc..a989cc1 100644 --- a/pkg/repocli/putman.go +++ b/pkg/repocli/putman.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/putupload.go b/pkg/repocli/putupload.go index b12996e..3738080 100644 --- a/pkg/repocli/putupload.go +++ b/pkg/repocli/putupload.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/referer.go b/pkg/repocli/referer.go index 31a17da..eb90452 100644 --- a/pkg/repocli/referer.go +++ b/pkg/repocli/referer.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/referer_test.go b/pkg/repocli/referer_test.go index 9af1c4d..c97900f 100644 --- a/pkg/repocli/referer_test.go +++ b/pkg/repocli/referer_test.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/repocli/uuid.go b/pkg/repocli/uuid.go index 590f4db..e6871af 100644 --- a/pkg/repocli/uuid.go +++ b/pkg/repocli/uuid.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package repocli diff --git a/pkg/terms/terms.go b/pkg/terms/terms.go index 9531cc5..84f7dc0 100644 --- a/pkg/terms/terms.go +++ b/pkg/terms/terms.go @@ -1,12 +1,8 @@ /* - * Copyright 2026 Oleg Borodin + * Copyright 2026 Oleg Borodin * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. - */ +*/ package terms diff --git a/test/file_test.go b/test/file_test.go index 061880e..c2835ab 100644 --- a/test/file_test.go +++ b/test/file_test.go @@ -1,11 +1,5 @@ /* * Copyright 2026 Oleg Borodin - * - * This work is published and licensed under a Creative Commons - * Attribution-NonCommercial-NoDerivatives 4.0 International License. - * - * Distribution of this work is permitted, but commercial use and - * modifications are strictly prohibited. */ package test