aboutsummaryrefslogtreecommitdiff
path: root/forged/internal/common/cmap
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-08-17 14:14:19 +0800
committerRunxi Yu <me@runxiyu.org>2025-08-17 14:14:40 +0800
commit3142c4ee05a2094997a96deb4bd1f33123143b31 (patch)
tree96fafe878d0d0a6caa4277c0db52fb92f082df63 /forged/internal/common/cmap
parentSimplify build process (diff)
downloadforge-3142c4ee05a2094997a96deb4bd1f33123143b31.tar.gz
forge-3142c4ee05a2094997a96deb4bd1f33123143b31.tar.zst
forge-3142c4ee05a2094997a96deb4bd1f33123143b31.zip
License cleanup
Diffstat (limited to 'forged/internal/common/cmap')
-rw-r--r--forged/internal/common/cmap/LICENSE22
-rw-r--r--forged/internal/common/cmap/comparable_map.go2
-rw-r--r--forged/internal/common/cmap/map.go2
3 files changed, 24 insertions, 2 deletions
diff --git a/forged/internal/common/cmap/LICENSE b/forged/internal/common/cmap/LICENSE
new file mode 100644
index 0000000..d5dfee8
--- /dev/null
+++ b/forged/internal/common/cmap/LICENSE
@@ -0,0 +1,22 @@
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS "AS IS" AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/forged/internal/common/cmap/comparable_map.go b/forged/internal/common/cmap/comparable_map.go
index cd9d4ce..e89175c 100644
--- a/forged/internal/common/cmap/comparable_map.go
+++ b/forged/internal/common/cmap/comparable_map.go
@@ -3,7 +3,7 @@
// Copyright 2024 Runxi Yu (porting it to generics)
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE.BSD file.
+// license that can be found in the LICENSE file.
package cmap
diff --git a/forged/internal/common/cmap/map.go b/forged/internal/common/cmap/map.go
index 4f43627..7a1fe5b 100644
--- a/forged/internal/common/cmap/map.go
+++ b/forged/internal/common/cmap/map.go
@@ -3,7 +3,7 @@
// Copyright 2024 Runxi Yu (porting it to generics)
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE.BSD file.
+// license that can be found in the LICENSE file.
// Package cmap provides a generic Map safe for concurrent use.
package cmap