Skip to content

Commit 4a8a154

Browse files
chore: update license headers
1 parent 77f964b commit 4a8a154

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+74
-57
lines changed

.github/workflows/check.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -133,13 +133,16 @@ jobs:
133133
license-header-check:
134134
runs-on: ubuntu-latest
135135
env:
136-
HAWKEYE_VERSION: v5.5.1
136+
HAWKEYE_VERSION: v5.8.1
137137
steps:
138138
- uses: actions/checkout@v4
139+
with:
140+
fetch-depth: 0
139141
- name: Download HawkEye
140142
run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/korandoru/hawkeye/releases/download/$HAWKEYE_VERSION/hawkeye-installer.sh | sh
141143
- name: Check License Header
142-
run: hawkeye check
144+
run: |
145+
hawkeye check
143146
144147
nightly-check:
145148
strategy:

array/array.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

array/array_js.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

array/array_nonjs.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

array/blit.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

array/deprecated.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

array/fixedarray.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

array/fixedarray_sort.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

array/view.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

bool/bool.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

buffer/buffer.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

builtin/bigint_js.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

builtin/bigint_nonjs.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

builtin/bigint_test.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

builtin/bytes.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

builtin/bytesview.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

builtin/double_to_int.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

builtin/double_to_int64_js.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

builtin/double_to_int64_native.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

builtin/double_to_int64_test.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

builtin/double_to_int64_wasm.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

builtin/double_to_int_test.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

builtin/double_to_int_wasm.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

builtin/hasher_test.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

builtin/int64_js.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

builtin/int64_nonjs.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

builtin/int64_test.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

builtin/json.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

builtin/stringbuilder_buffer.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

bytes/bytes.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

deque/deque.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

deque/deque_test.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

deque/deque_wbtest.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

double/double.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

double/internal/ryu/ryu.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

double/to_uint.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

double/to_uint_test.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

double/to_uint_wasm.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

float/float.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

float/to_int.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

float/to_int_wasm.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

int/int.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

int64/int64.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

int64/xxhash.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

licenserc.toml

+19-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 International Digital Economy Academy
1+
# Copyright 2025 International Digital Economy Academy
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -16,10 +16,24 @@
1616
# For detailed configuration, see https://github.com/korandoru/hawkeye?tab=readme-ov-file#configurations
1717

1818
# https://github.com/korandoru/hawkeye/blob/badc166be6ed1a2f6c5cdff6422f8b1cf597dfe6/fmt/src/license/Apache-2.0.txt
19-
headerPath = "Apache-2.0.txt"
19+
inlineHeader = '''
20+
Copyright ${hawkeye.git.fileModifiedYear} International Digital Economy Academy
21+
22+
Licensed under the Apache License, Version 2.0 (the "License");
23+
you may not use this file except in compliance with the License.
24+
You may obtain a copy of the License at
25+
26+
http://www.apache.org/licenses/LICENSE-2.0
27+
28+
Unless required by applicable law or agreed to in writing, software
29+
distributed under the License is distributed on an "AS IS" BASIS,
30+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31+
See the License for the specific language governing permissions and
32+
limitations under the License.
33+
'''
2034

2135
includes = ["*.mbt"]
2236

23-
[properties]
24-
inceptionYear = 2024
25-
copyrightOwner = "International Digital Economy Academy"
37+
[git]
38+
ignore = 'auto'
39+
attrs = 'enable'

quickcheck/arbitrary.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

random/internal/random_source/random_source_chacha.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

strconv/decimal.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

strconv/traits.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

strconv/uint.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

uint/uint.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

uint64/uint64.mbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 International Digital Economy Academy
1+
// Copyright 2025 International Digital Economy Academy
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)