aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Common/Validation
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-03-28 22:14:50 -0500
committerJP Dillingham <jp@dillingham.me>2026-03-28 23:13:19 -0500
commitd8abb84e903f33ad0c30c0ff877d8008dc69f596 (patch)
tree3ff24eccff5924bc3362dcab025d9bbabc48462b /src/slskd/Common/Validation
parentbf9508ff8c019edcb9e23136f2b25539c4f41f42 (diff)
downloadslskd-d8abb84e903f33ad0c30c0ff877d8008dc69f596.tar.gz
remove non breaking spaces
Diffstat (limited to 'src/slskd/Common/Validation')
-rw-r--r--src/slskd/Common/Validation/AbsoluteFilePathAttribute.cs11
-rw-r--r--src/slskd/Common/Validation/CompositeValidationResult.cs11
-rw-r--r--src/slskd/Common/Validation/DirectoryExistsAttributes.cs11
-rw-r--r--src/slskd/Common/Validation/EnumAttribute.cs11
-rw-r--r--src/slskd/Common/Validation/Extensions.cs11
-rw-r--r--src/slskd/Common/Validation/FileDoesNotExistAttribute.cs11
-rw-r--r--src/slskd/Common/Validation/FileExistsAttribute.cs11
-rw-r--r--src/slskd/Common/Validation/IPAddressAttribute.cs11
-rw-r--r--src/slskd/Common/Validation/NotNullOrWhiteSpaceAttribute.cs11
-rw-r--r--src/slskd/Common/Validation/ValidateAttribute.cs11
-rw-r--r--src/slskd/Common/Validation/ValidationExtensions.cs11
-rw-r--r--src/slskd/Common/Validation/X509CertificateAttribute.cs11
12 files changed, 60 insertions, 72 deletions
diff --git a/src/slskd/Common/Validation/AbsoluteFilePathAttribute.cs b/src/slskd/Common/Validation/AbsoluteFilePathAttribute.cs
index 867a0416..36fef50b 100644
--- a/src/slskd/Common/Validation/AbsoluteFilePathAttribute.cs
+++ b/src/slskd/Common/Validation/AbsoluteFilePathAttribute.cs
@@ -6,8 +6,6 @@
// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉
// │ Copyright (c) JP Dillingham.
// │
-// │ https://slskd.org
-// │
// │ This program is free software: you can redistribute it and/or modify
// │ it under the terms of the GNU Affero General Public License as published
// │ by the Free Software Foundation, either version 3 of the License, or
@@ -21,10 +19,11 @@
// │ You should have received a copy of the GNU Affero General Public License
// │ along with this program. If not, see https://www.gnu.org/licenses/.
// │
-// │ This program is distributed with Additional Terms pursuant to
-// │ Section 7 of the GNU Affero General Public License. See the
-// │ LICENSE file in the root directory of this project for the
-// │ complete terms and conditions.
+// │ This program is distributed with Additional Terms pursuant to Section 7
+// │ of the AGPLv3. See the LICENSE file in the root directory of this
+// │ project for the complete terms and conditions.
+// │
+// │ https://slskd.org
// │
// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌
// │ SPDX-FileCopyrightText: JP Dillingham
diff --git a/src/slskd/Common/Validation/CompositeValidationResult.cs b/src/slskd/Common/Validation/CompositeValidationResult.cs
index d713e225..4ada971f 100644
--- a/src/slskd/Common/Validation/CompositeValidationResult.cs
+++ b/src/slskd/Common/Validation/CompositeValidationResult.cs
@@ -6,8 +6,6 @@
// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉
// │ Copyright (c) JP Dillingham.
// │
-// │ https://slskd.org
-// │
// │ This program is free software: you can redistribute it and/or modify
// │ it under the terms of the GNU Affero General Public License as published
// │ by the Free Software Foundation, either version 3 of the License, or
@@ -21,10 +19,11 @@
// │ You should have received a copy of the GNU Affero General Public License
// │ along with this program. If not, see https://www.gnu.org/licenses/.
// │
-// │ This program is distributed with Additional Terms pursuant to
-// │ Section 7 of the GNU Affero General Public License. See the
-// │ LICENSE file in the root directory of this project for the
-// │ complete terms and conditions.
+// │ This program is distributed with Additional Terms pursuant to Section 7
+// │ of the AGPLv3. See the LICENSE file in the root directory of this
+// │ project for the complete terms and conditions.
+// │
+// │ https://slskd.org
// │
// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌
// │ SPDX-FileCopyrightText: JP Dillingham
diff --git a/src/slskd/Common/Validation/DirectoryExistsAttributes.cs b/src/slskd/Common/Validation/DirectoryExistsAttributes.cs
index 469c7c44..cb202abe 100644
--- a/src/slskd/Common/Validation/DirectoryExistsAttributes.cs
+++ b/src/slskd/Common/Validation/DirectoryExistsAttributes.cs
@@ -6,8 +6,6 @@
// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉
// │ Copyright (c) JP Dillingham.
// │
-// │ https://slskd.org
-// │
// │ This program is free software: you can redistribute it and/or modify
// │ it under the terms of the GNU Affero General Public License as published
// │ by the Free Software Foundation, either version 3 of the License, or
@@ -21,10 +19,11 @@
// │ You should have received a copy of the GNU Affero General Public License
// │ along with this program. If not, see https://www.gnu.org/licenses/.
// │
-// │ This program is distributed with Additional Terms pursuant to
-// │ Section 7 of the GNU Affero General Public License. See the
-// │ LICENSE file in the root directory of this project for the
-// │ complete terms and conditions.
+// │ This program is distributed with Additional Terms pursuant to Section 7
+// │ of the AGPLv3. See the LICENSE file in the root directory of this
+// │ project for the complete terms and conditions.
+// │
+// │ https://slskd.org
// │
// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌
// │ SPDX-FileCopyrightText: JP Dillingham
diff --git a/src/slskd/Common/Validation/EnumAttribute.cs b/src/slskd/Common/Validation/EnumAttribute.cs
index 3ada18cc..2354328c 100644
--- a/src/slskd/Common/Validation/EnumAttribute.cs
+++ b/src/slskd/Common/Validation/EnumAttribute.cs
@@ -6,8 +6,6 @@
// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉
// │ Copyright (c) JP Dillingham.
// │
-// │ https://slskd.org
-// │
// │ This program is free software: you can redistribute it and/or modify
// │ it under the terms of the GNU Affero General Public License as published
// │ by the Free Software Foundation, either version 3 of the License, or
@@ -21,10 +19,11 @@
// │ You should have received a copy of the GNU Affero General Public License
// │ along with this program. If not, see https://www.gnu.org/licenses/.
// │
-// │ This program is distributed with Additional Terms pursuant to
-// │ Section 7 of the GNU Affero General Public License. See the
-// │ LICENSE file in the root directory of this project for the
-// │ complete terms and conditions.
+// │ This program is distributed with Additional Terms pursuant to Section 7
+// │ of the AGPLv3. See the LICENSE file in the root directory of this
+// │ project for the complete terms and conditions.
+// │
+// │ https://slskd.org
// │
// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌
// │ SPDX-FileCopyrightText: JP Dillingham
diff --git a/src/slskd/Common/Validation/Extensions.cs b/src/slskd/Common/Validation/Extensions.cs
index ae89e710..42ec2c4b 100644
--- a/src/slskd/Common/Validation/Extensions.cs
+++ b/src/slskd/Common/Validation/Extensions.cs
@@ -6,8 +6,6 @@
// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉
// │ Copyright (c) JP Dillingham.
// │
-// │ https://slskd.org
-// │
// │ This program is free software: you can redistribute it and/or modify
// │ it under the terms of the GNU Affero General Public License as published
// │ by the Free Software Foundation, either version 3 of the License, or
@@ -21,10 +19,11 @@
// │ You should have received a copy of the GNU Affero General Public License
// │ along with this program. If not, see https://www.gnu.org/licenses/.
// │
-// │ This program is distributed with Additional Terms pursuant to
-// │ Section 7 of the GNU Affero General Public License. See the
-// │ LICENSE file in the root directory of this project for the
-// │ complete terms and conditions.
+// │ This program is distributed with Additional Terms pursuant to Section 7
+// │ of the AGPLv3. See the LICENSE file in the root directory of this
+// │ project for the complete terms and conditions.
+// │
+// │ https://slskd.org
// │
// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌
// │ SPDX-FileCopyrightText: JP Dillingham
diff --git a/src/slskd/Common/Validation/FileDoesNotExistAttribute.cs b/src/slskd/Common/Validation/FileDoesNotExistAttribute.cs
index 214d1569..5a1c6e22 100644
--- a/src/slskd/Common/Validation/FileDoesNotExistAttribute.cs
+++ b/src/slskd/Common/Validation/FileDoesNotExistAttribute.cs
@@ -6,8 +6,6 @@
// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉
// │ Copyright (c) JP Dillingham.
// │
-// │ https://slskd.org
-// │
// │ This program is free software: you can redistribute it and/or modify
// │ it under the terms of the GNU Affero General Public License as published
// │ by the Free Software Foundation, either version 3 of the License, or
@@ -21,10 +19,11 @@
// │ You should have received a copy of the GNU Affero General Public License
// │ along with this program. If not, see https://www.gnu.org/licenses/.
// │
-// │ This program is distributed with Additional Terms pursuant to
-// │ Section 7 of the GNU Affero General Public License. See the
-// │ LICENSE file in the root directory of this project for the
-// │ complete terms and conditions.
+// │ This program is distributed with Additional Terms pursuant to Section 7
+// │ of the AGPLv3. See the LICENSE file in the root directory of this
+// │ project for the complete terms and conditions.
+// │
+// │ https://slskd.org
// │
// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌
// │ SPDX-FileCopyrightText: JP Dillingham
diff --git a/src/slskd/Common/Validation/FileExistsAttribute.cs b/src/slskd/Common/Validation/FileExistsAttribute.cs
index 0729f005..94ad5bfc 100644
--- a/src/slskd/Common/Validation/FileExistsAttribute.cs
+++ b/src/slskd/Common/Validation/FileExistsAttribute.cs
@@ -6,8 +6,6 @@
// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉
// │ Copyright (c) JP Dillingham.
// │
-// │ https://slskd.org
-// │
// │ This program is free software: you can redistribute it and/or modify
// │ it under the terms of the GNU Affero General Public License as published
// │ by the Free Software Foundation, either version 3 of the License, or
@@ -21,10 +19,11 @@
// │ You should have received a copy of the GNU Affero General Public License
// │ along with this program. If not, see https://www.gnu.org/licenses/.
// │
-// │ This program is distributed with Additional Terms pursuant to
-// │ Section 7 of the GNU Affero General Public License. See the
-// │ LICENSE file in the root directory of this project for the
-// │ complete terms and conditions.
+// │ This program is distributed with Additional Terms pursuant to Section 7
+// │ of the AGPLv3. See the LICENSE file in the root directory of this
+// │ project for the complete terms and conditions.
+// │
+// │ https://slskd.org
// │
// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌
// │ SPDX-FileCopyrightText: JP Dillingham
diff --git a/src/slskd/Common/Validation/IPAddressAttribute.cs b/src/slskd/Common/Validation/IPAddressAttribute.cs
index d4493902..aaecb203 100644
--- a/src/slskd/Common/Validation/IPAddressAttribute.cs
+++ b/src/slskd/Common/Validation/IPAddressAttribute.cs
@@ -6,8 +6,6 @@
// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉
// │ Copyright (c) JP Dillingham.
// │
-// │ https://slskd.org
-// │
// │ This program is free software: you can redistribute it and/or modify
// │ it under the terms of the GNU Affero General Public License as published
// │ by the Free Software Foundation, either version 3 of the License, or
@@ -21,10 +19,11 @@
// │ You should have received a copy of the GNU Affero General Public License
// │ along with this program. If not, see https://www.gnu.org/licenses/.
// │
-// │ This program is distributed with Additional Terms pursuant to
-// │ Section 7 of the GNU Affero General Public License. See the
-// │ LICENSE file in the root directory of this project for the
-// │ complete terms and conditions.
+// │ This program is distributed with Additional Terms pursuant to Section 7
+// │ of the AGPLv3. See the LICENSE file in the root directory of this
+// │ project for the complete terms and conditions.
+// │
+// │ https://slskd.org
// │
// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌
// │ SPDX-FileCopyrightText: JP Dillingham
diff --git a/src/slskd/Common/Validation/NotNullOrWhiteSpaceAttribute.cs b/src/slskd/Common/Validation/NotNullOrWhiteSpaceAttribute.cs
index 843cebfe..131aab37 100644
--- a/src/slskd/Common/Validation/NotNullOrWhiteSpaceAttribute.cs
+++ b/src/slskd/Common/Validation/NotNullOrWhiteSpaceAttribute.cs
@@ -6,8 +6,6 @@
// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉
// │ Copyright (c) JP Dillingham.
// │
-// │ https://slskd.org
-// │
// │ This program is free software: you can redistribute it and/or modify
// │ it under the terms of the GNU Affero General Public License as published
// │ by the Free Software Foundation, either version 3 of the License, or
@@ -21,10 +19,11 @@
// │ You should have received a copy of the GNU Affero General Public License
// │ along with this program. If not, see https://www.gnu.org/licenses/.
// │
-// │ This program is distributed with Additional Terms pursuant to
-// │ Section 7 of the GNU Affero General Public License. See the
-// │ LICENSE file in the root directory of this project for the
-// │ complete terms and conditions.
+// │ This program is distributed with Additional Terms pursuant to Section 7
+// │ of the AGPLv3. See the LICENSE file in the root directory of this
+// │ project for the complete terms and conditions.
+// │
+// │ https://slskd.org
// │
// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌
// │ SPDX-FileCopyrightText: JP Dillingham
diff --git a/src/slskd/Common/Validation/ValidateAttribute.cs b/src/slskd/Common/Validation/ValidateAttribute.cs
index 4181e818..7410f37b 100644
--- a/src/slskd/Common/Validation/ValidateAttribute.cs
+++ b/src/slskd/Common/Validation/ValidateAttribute.cs
@@ -6,8 +6,6 @@
// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉
// │ Copyright (c) JP Dillingham.
// │
-// │ https://slskd.org
-// │
// │ This program is free software: you can redistribute it and/or modify
// │ it under the terms of the GNU Affero General Public License as published
// │ by the Free Software Foundation, either version 3 of the License, or
@@ -21,10 +19,11 @@
// │ You should have received a copy of the GNU Affero General Public License
// │ along with this program. If not, see https://www.gnu.org/licenses/.
// │
-// │ This program is distributed with Additional Terms pursuant to
-// │ Section 7 of the GNU Affero General Public License. See the
-// │ LICENSE file in the root directory of this project for the
-// │ complete terms and conditions.
+// │ This program is distributed with Additional Terms pursuant to Section 7
+// │ of the AGPLv3. See the LICENSE file in the root directory of this
+// │ project for the complete terms and conditions.
+// │
+// │ https://slskd.org
// │
// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌
// │ SPDX-FileCopyrightText: JP Dillingham
diff --git a/src/slskd/Common/Validation/ValidationExtensions.cs b/src/slskd/Common/Validation/ValidationExtensions.cs
index 2cf47fa8..7f3a46c8 100644
--- a/src/slskd/Common/Validation/ValidationExtensions.cs
+++ b/src/slskd/Common/Validation/ValidationExtensions.cs
@@ -6,8 +6,6 @@
// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉
// │ Copyright (c) JP Dillingham.
// │
-// │ https://slskd.org
-// │
// │ This program is free software: you can redistribute it and/or modify
// │ it under the terms of the GNU Affero General Public License as published
// │ by the Free Software Foundation, either version 3 of the License, or
@@ -21,10 +19,11 @@
// │ You should have received a copy of the GNU Affero General Public License
// │ along with this program. If not, see https://www.gnu.org/licenses/.
// │
-// │ This program is distributed with Additional Terms pursuant to
-// │ Section 7 of the GNU Affero General Public License. See the
-// │ LICENSE file in the root directory of this project for the
-// │ complete terms and conditions.
+// │ This program is distributed with Additional Terms pursuant to Section 7
+// │ of the AGPLv3. See the LICENSE file in the root directory of this
+// │ project for the complete terms and conditions.
+// │
+// │ https://slskd.org
// │
// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌
// │ SPDX-FileCopyrightText: JP Dillingham
diff --git a/src/slskd/Common/Validation/X509CertificateAttribute.cs b/src/slskd/Common/Validation/X509CertificateAttribute.cs
index 0fe8d021..2e8ef48d 100644
--- a/src/slskd/Common/Validation/X509CertificateAttribute.cs
+++ b/src/slskd/Common/Validation/X509CertificateAttribute.cs
@@ -6,8 +6,6 @@
// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉
// │ Copyright (c) JP Dillingham.
// │
-// │ https://slskd.org
-// │
// │ This program is free software: you can redistribute it and/or modify
// │ it under the terms of the GNU Affero General Public License as published
// │ by the Free Software Foundation, either version 3 of the License, or
@@ -21,10 +19,11 @@
// │ You should have received a copy of the GNU Affero General Public License
// │ along with this program. If not, see https://www.gnu.org/licenses/.
// │
-// │ This program is distributed with Additional Terms pursuant to
-// │ Section 7 of the GNU Affero General Public License. See the
-// │ LICENSE file in the root directory of this project for the
-// │ complete terms and conditions.
+// │ This program is distributed with Additional Terms pursuant to Section 7
+// │ of the AGPLv3. See the LICENSE file in the root directory of this
+// │ project for the complete terms and conditions.
+// │
+// │ https://slskd.org
// │
// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌
// │ SPDX-FileCopyrightText: JP Dillingham