From dad777b9a67edf3381709ee09ac4f47752fa6b91 Mon Sep 17 00:00:00 2001 From: Han Li Date: Fri, 7 Feb 2025 18:19:34 +0800 Subject: [PATCH] chore: 2024 -> 2025 (#403) --- LICENSE | 2 +- README.md | 2 +- README_CN.md | 2 +- cmd/cmd.go | 4 ++-- cmd/commands/activate.go | 2 +- cmd/commands/add.go | 2 +- cmd/commands/available.go | 2 +- cmd/commands/current.go | 2 +- cmd/commands/env.go | 2 +- cmd/commands/info.go | 2 +- cmd/commands/install.go | 2 +- cmd/commands/list.go | 2 +- cmd/commands/remove.go | 2 +- cmd/commands/search.go | 2 +- cmd/commands/uninstall.go | 2 +- cmd/commands/update.go | 2 +- cmd/commands/upgrade.go | 2 +- cmd/commands/upgrade_unix.go | 2 +- cmd/commands/upgrade_win.go | 2 +- cmd/commands/use.go | 2 +- docs/.vitepress/en.ts | 2 +- docs/.vitepress/zh.ts | 2 +- internal/cache/cache.go | 2 +- internal/cache/cache_test.go | 2 +- internal/checksum.go | 2 +- internal/config/cache.go | 2 +- internal/config/cache_test.go | 2 +- internal/config/config.go | 2 +- internal/config/config_test.go | 2 +- internal/config/legacy_version_file.go | 2 +- internal/config/proxy.go | 2 +- internal/config/registry.go | 2 +- internal/config/storage.go | 2 +- internal/env/env.go | 2 +- internal/env/flag.go | 2 +- internal/env/macos_env.go | 2 +- internal/env/path.go | 2 +- internal/env/windows_env.go | 2 +- internal/interfaces.go | 2 +- internal/logger/logger.go | 2 +- internal/luai/decode.go | 2 +- internal/luai/encode.go | 2 +- internal/luai/example_test.go | 2 +- internal/luai/vm.go | 2 +- internal/manager.go | 2 +- internal/module/file/file.go | 2 +- internal/module/file/file_test.go | 2 +- internal/module/html/html.go | 2 +- internal/module/html/html_test.go | 2 +- internal/module/http/http.go | 2 +- internal/module/http/http_test.go | 2 +- internal/module/json/json.go | 2 +- internal/module/json/json_test.go | 2 +- internal/module/module.go | 2 +- internal/package.go | 2 +- internal/path.go | 2 +- internal/plugin.go | 2 +- internal/printer/select.go | 2 +- internal/printer/select_test.go | 2 +- internal/registry.go | 2 +- internal/scope.go | 2 +- internal/sdk.go | 2 +- internal/shell/bash.go | 2 +- internal/shell/clink.go | 2 +- internal/shell/fish.go | 2 +- internal/shell/linux_process.go | 2 +- internal/shell/macos_process.go | 2 +- internal/shell/powershell.go | 2 +- internal/shell/process.go | 2 +- internal/shell/shell.go | 2 +- internal/shell/windows_process.go | 2 +- internal/shell/zsh.go | 2 +- internal/shim/shim.go | 2 +- internal/shim/shim_unix.go | 2 +- internal/shim/shim_windows.go | 2 +- internal/toolset/file_record.go | 2 +- internal/toolset/tool_version.go | 2 +- internal/util/decompressor.go | 2 +- internal/util/decompressor_test.go | 2 +- internal/util/downloader.go | 2 +- internal/util/error_store.go | 2 +- internal/util/file.go | 2 +- internal/util/runtime.go | 2 +- internal/util/set.go | 2 +- internal/util/set_test.go | 2 +- internal/util/time.go | 2 +- internal/util/time_test.go | 2 +- internal/util/version.go | 2 +- internal/util/version_test.go | 2 +- internal/version.go | 2 +- main.go | 2 +- 91 files changed, 92 insertions(+), 92 deletions(-) diff --git a/LICENSE b/LICENSE index ed00f56f..eb72d19b 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2024 Han Li and contributors + Copyright 2025 Han Li and contributors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index 347737aa..efd52a7f 100644 --- a/README.md +++ b/README.md @@ -138,5 +138,5 @@ Plugin Contributions, please go to [Public Registry](https://github.com/version- ## COPYRIGHT -[Apache 2.0 license](./LICENSE) - Copyright (C) 2024 Han Li +[Apache 2.0 license](./LICENSE) - Copyright (C) 2025 Han Li and [contributors](https://github.com/version-fox/vfox/graphs/contributors) diff --git a/README_CN.md b/README_CN.md index 9234ba93..78410f14 100644 --- a/README_CN.md +++ b/README_CN.md @@ -120,6 +120,6 @@ $ node -v ## COPYRIGHT -[Apache 2.0 license](./LICENSE) - Copyright (C) 2024 Han Li +[Apache 2.0 license](./LICENSE) - Copyright (C) 2025 Han Li and [contributors](https://github.com/version-fox/vfox/graphs/contributors) diff --git a/cmd/cmd.go b/cmd/cmd.go index 1693e1b0..141525a6 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -59,7 +59,7 @@ func newCmd() *cmd { app.Name = "vfox" app.Usage = "vfox is a tool for runtime version management." app.UsageText = "vfox [command] [command options]" - app.Copyright = "Copyright 2024 Han Li. All rights reserved." + app.Copyright = "Copyright 2025 Han Li. All rights reserved." app.Version = version app.Description = "vfox is a cross-platform version manager, extendable via plugins. It allows you to quickly install and switch between different environment you need via the command line." app.Suggest = true diff --git a/cmd/commands/activate.go b/cmd/commands/activate.go index 6a7ef4da..3fdad40a 100644 --- a/cmd/commands/activate.go +++ b/cmd/commands/activate.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cmd/commands/add.go b/cmd/commands/add.go index 937e3201..78a0ecc8 100644 --- a/cmd/commands/add.go +++ b/cmd/commands/add.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cmd/commands/available.go b/cmd/commands/available.go index dadbcc61..ccf38823 100644 --- a/cmd/commands/available.go +++ b/cmd/commands/available.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cmd/commands/current.go b/cmd/commands/current.go index 285dea73..a525761c 100644 --- a/cmd/commands/current.go +++ b/cmd/commands/current.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cmd/commands/env.go b/cmd/commands/env.go index b71399da..fff642ca 100644 --- a/cmd/commands/env.go +++ b/cmd/commands/env.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cmd/commands/info.go b/cmd/commands/info.go index 4ddd10d8..30842bd1 100644 --- a/cmd/commands/info.go +++ b/cmd/commands/info.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cmd/commands/install.go b/cmd/commands/install.go index d12550a9..444fff11 100644 --- a/cmd/commands/install.go +++ b/cmd/commands/install.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cmd/commands/list.go b/cmd/commands/list.go index 72a54f8e..dcd93a66 100644 --- a/cmd/commands/list.go +++ b/cmd/commands/list.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cmd/commands/remove.go b/cmd/commands/remove.go index 27c47bd2..41e5290c 100644 --- a/cmd/commands/remove.go +++ b/cmd/commands/remove.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cmd/commands/search.go b/cmd/commands/search.go index b6ba9f1f..042bacc6 100644 --- a/cmd/commands/search.go +++ b/cmd/commands/search.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cmd/commands/uninstall.go b/cmd/commands/uninstall.go index 52734d39..7162a67a 100644 --- a/cmd/commands/uninstall.go +++ b/cmd/commands/uninstall.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cmd/commands/update.go b/cmd/commands/update.go index 1bb46327..b427b51b 100644 --- a/cmd/commands/update.go +++ b/cmd/commands/update.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cmd/commands/upgrade.go b/cmd/commands/upgrade.go index d431507c..7d6361ab 100644 --- a/cmd/commands/upgrade.go +++ b/cmd/commands/upgrade.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cmd/commands/upgrade_unix.go b/cmd/commands/upgrade_unix.go index 0a56a11f..786a4729 100644 --- a/cmd/commands/upgrade_unix.go +++ b/cmd/commands/upgrade_unix.go @@ -1,7 +1,7 @@ //go:build !windows /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cmd/commands/upgrade_win.go b/cmd/commands/upgrade_win.go index 6d75bf01..18beed45 100644 --- a/cmd/commands/upgrade_win.go +++ b/cmd/commands/upgrade_win.go @@ -1,7 +1,7 @@ //go:build windows /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/cmd/commands/use.go b/cmd/commands/use.go index e4a9d136..606bff8e 100644 --- a/cmd/commands/use.go +++ b/cmd/commands/use.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/docs/.vitepress/en.ts b/docs/.vitepress/en.ts index b40fb724..71ae975a 100644 --- a/docs/.vitepress/en.ts +++ b/docs/.vitepress/en.ts @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/docs/.vitepress/zh.ts b/docs/.vitepress/zh.ts index c3ba7f0c..dfa8cd2a 100644 --- a/docs/.vitepress/zh.ts +++ b/docs/.vitepress/zh.ts @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/cache/cache.go b/internal/cache/cache.go index fc84b0e9..0b7df887 100644 --- a/internal/cache/cache.go +++ b/internal/cache/cache.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/cache/cache_test.go b/internal/cache/cache_test.go index e22fcadf..0571342d 100644 --- a/internal/cache/cache_test.go +++ b/internal/cache/cache_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/checksum.go b/internal/checksum.go index dc06e497..7248f28c 100644 --- a/internal/checksum.go +++ b/internal/checksum.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/config/cache.go b/internal/config/cache.go index eb171700..41c45ab1 100644 --- a/internal/config/cache.go +++ b/internal/config/cache.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/config/cache_test.go b/internal/config/cache_test.go index d7aabab2..64b9cf7f 100644 --- a/internal/config/cache_test.go +++ b/internal/config/cache_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/config/config.go b/internal/config/config.go index 9922f70d..e657ba95 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/config/config_test.go b/internal/config/config_test.go index e4b4e6b5..2bed3bd1 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/config/legacy_version_file.go b/internal/config/legacy_version_file.go index 8bdb7d6c..f72869aa 100644 --- a/internal/config/legacy_version_file.go +++ b/internal/config/legacy_version_file.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/config/proxy.go b/internal/config/proxy.go index e6308dc7..a7bc276c 100644 --- a/internal/config/proxy.go +++ b/internal/config/proxy.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/config/registry.go b/internal/config/registry.go index e23d05e7..238ff74d 100644 --- a/internal/config/registry.go +++ b/internal/config/registry.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/config/storage.go b/internal/config/storage.go index f45252a3..73ba6e84 100644 --- a/internal/config/storage.go +++ b/internal/config/storage.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/env/env.go b/internal/env/env.go index 7904a2da..d4a870b5 100644 --- a/internal/env/env.go +++ b/internal/env/env.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/env/flag.go b/internal/env/flag.go index f5eeb260..81e3baae 100644 --- a/internal/env/flag.go +++ b/internal/env/flag.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/env/macos_env.go b/internal/env/macos_env.go index cf4daebd..61499b94 100644 --- a/internal/env/macos_env.go +++ b/internal/env/macos_env.go @@ -1,7 +1,7 @@ //go:build darwin || linux /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/env/path.go b/internal/env/path.go index 9b682ed5..b49ff67a 100644 --- a/internal/env/path.go +++ b/internal/env/path.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/env/windows_env.go b/internal/env/windows_env.go index fce28da1..d5026100 100644 --- a/internal/env/windows_env.go +++ b/internal/env/windows_env.go @@ -1,7 +1,7 @@ //go:build windows /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/interfaces.go b/internal/interfaces.go index 82e6614d..02a363f6 100644 --- a/internal/interfaces.go +++ b/internal/interfaces.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/logger/logger.go b/internal/logger/logger.go index 723c1df4..0e47589f 100644 --- a/internal/logger/logger.go +++ b/internal/logger/logger.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/luai/decode.go b/internal/luai/decode.go index 5f61ea08..f12f4cd9 100644 --- a/internal/luai/decode.go +++ b/internal/luai/decode.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/luai/encode.go b/internal/luai/encode.go index f6d5f28c..de4f06c2 100644 --- a/internal/luai/encode.go +++ b/internal/luai/encode.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/luai/example_test.go b/internal/luai/example_test.go index 33d2d76d..554d93f3 100644 --- a/internal/luai/example_test.go +++ b/internal/luai/example_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/luai/vm.go b/internal/luai/vm.go index f4052cce..c7e33b70 100644 --- a/internal/luai/vm.go +++ b/internal/luai/vm.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/manager.go b/internal/manager.go index afc403fa..1fb84e27 100644 --- a/internal/manager.go +++ b/internal/manager.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/module/file/file.go b/internal/module/file/file.go index 0c89f0a5..e184cf38 100644 --- a/internal/module/file/file.go +++ b/internal/module/file/file.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/module/file/file_test.go b/internal/module/file/file_test.go index c514b997..479b631f 100644 --- a/internal/module/file/file_test.go +++ b/internal/module/file/file_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/module/html/html.go b/internal/module/html/html.go index 16bdebf1..914c25bb 100644 --- a/internal/module/html/html.go +++ b/internal/module/html/html.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/module/html/html_test.go b/internal/module/html/html_test.go index 716e69e1..ecbff7cb 100644 --- a/internal/module/html/html_test.go +++ b/internal/module/html/html_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/module/http/http.go b/internal/module/http/http.go index cf3bdad9..c9b9256b 100644 --- a/internal/module/http/http.go +++ b/internal/module/http/http.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/module/http/http_test.go b/internal/module/http/http_test.go index 6f8b5893..3f11a8f0 100644 --- a/internal/module/http/http_test.go +++ b/internal/module/http/http_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/module/json/json.go b/internal/module/json/json.go index b9f363ee..47623171 100644 --- a/internal/module/json/json.go +++ b/internal/module/json/json.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/module/json/json_test.go b/internal/module/json/json_test.go index ba103171..65afddc4 100644 --- a/internal/module/json/json_test.go +++ b/internal/module/json/json_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/module/module.go b/internal/module/module.go index a4476ea5..80d60919 100644 --- a/internal/module/module.go +++ b/internal/module/module.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/package.go b/internal/package.go index 6fbca215..1743860e 100644 --- a/internal/package.go +++ b/internal/package.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/path.go b/internal/path.go index a330ffd7..e50bebcf 100644 --- a/internal/path.go +++ b/internal/path.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/plugin.go b/internal/plugin.go index 4ef443ab..3ec681c3 100644 --- a/internal/plugin.go +++ b/internal/plugin.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/printer/select.go b/internal/printer/select.go index 3620cde7..99db806c 100644 --- a/internal/printer/select.go +++ b/internal/printer/select.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/printer/select_test.go b/internal/printer/select_test.go index a3cc8788..0eb4d2a8 100644 --- a/internal/printer/select_test.go +++ b/internal/printer/select_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/registry.go b/internal/registry.go index e0b8ea58..b9f53ae4 100644 --- a/internal/registry.go +++ b/internal/registry.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/scope.go b/internal/scope.go index 701f435e..b26b7fa6 100644 --- a/internal/scope.go +++ b/internal/scope.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/sdk.go b/internal/sdk.go index f1db7a33..e2d01efc 100644 --- a/internal/sdk.go +++ b/internal/sdk.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/shell/bash.go b/internal/shell/bash.go index 8c6898ab..509b8c04 100644 --- a/internal/shell/bash.go +++ b/internal/shell/bash.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/shell/clink.go b/internal/shell/clink.go index f23f85de..eca9ba00 100644 --- a/internal/shell/clink.go +++ b/internal/shell/clink.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/shell/fish.go b/internal/shell/fish.go index edf0b2b3..019c8c5a 100644 --- a/internal/shell/fish.go +++ b/internal/shell/fish.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/shell/linux_process.go b/internal/shell/linux_process.go index f5e4ba3a..928b15f0 100644 --- a/internal/shell/linux_process.go +++ b/internal/shell/linux_process.go @@ -1,7 +1,7 @@ //go:build linux /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/shell/macos_process.go b/internal/shell/macos_process.go index 6aabdac4..1f75a86d 100644 --- a/internal/shell/macos_process.go +++ b/internal/shell/macos_process.go @@ -1,7 +1,7 @@ //go:build darwin /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/shell/powershell.go b/internal/shell/powershell.go index da323953..8734a69c 100644 --- a/internal/shell/powershell.go +++ b/internal/shell/powershell.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/shell/process.go b/internal/shell/process.go index c0c2054f..48b234ac 100644 --- a/internal/shell/process.go +++ b/internal/shell/process.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/shell/shell.go b/internal/shell/shell.go index 07433369..e6c57b68 100644 --- a/internal/shell/shell.go +++ b/internal/shell/shell.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/shell/windows_process.go b/internal/shell/windows_process.go index cc6707a0..24666924 100644 --- a/internal/shell/windows_process.go +++ b/internal/shell/windows_process.go @@ -1,7 +1,7 @@ //go:build windows /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/shell/zsh.go b/internal/shell/zsh.go index ec4770e8..fcff0c7d 100644 --- a/internal/shell/zsh.go +++ b/internal/shell/zsh.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/shim/shim.go b/internal/shim/shim.go index d54f9419..073596f3 100644 --- a/internal/shim/shim.go +++ b/internal/shim/shim.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/shim/shim_unix.go b/internal/shim/shim_unix.go index ca8da5b6..9e710819 100644 --- a/internal/shim/shim_unix.go +++ b/internal/shim/shim_unix.go @@ -1,7 +1,7 @@ //go:build !windows /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/shim/shim_windows.go b/internal/shim/shim_windows.go index bb51067c..79dd4535 100644 --- a/internal/shim/shim_windows.go +++ b/internal/shim/shim_windows.go @@ -1,7 +1,7 @@ //go:build windows /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/toolset/file_record.go b/internal/toolset/file_record.go index b0c727d3..87eaa13a 100644 --- a/internal/toolset/file_record.go +++ b/internal/toolset/file_record.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/toolset/tool_version.go b/internal/toolset/tool_version.go index 1f3fb337..e84db56f 100644 --- a/internal/toolset/tool_version.go +++ b/internal/toolset/tool_version.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/util/decompressor.go b/internal/util/decompressor.go index 9ce04668..cb06af71 100644 --- a/internal/util/decompressor.go +++ b/internal/util/decompressor.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/util/decompressor_test.go b/internal/util/decompressor_test.go index c4088cda..5f4128e2 100644 --- a/internal/util/decompressor_test.go +++ b/internal/util/decompressor_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/util/downloader.go b/internal/util/downloader.go index 69a62e6c..1b2efb0a 100644 --- a/internal/util/downloader.go +++ b/internal/util/downloader.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/util/error_store.go b/internal/util/error_store.go index aec13084..44e577e1 100644 --- a/internal/util/error_store.go +++ b/internal/util/error_store.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/util/file.go b/internal/util/file.go index aaa86cb2..a304a620 100644 --- a/internal/util/file.go +++ b/internal/util/file.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/util/runtime.go b/internal/util/runtime.go index 11c686aa..ee5617c5 100644 --- a/internal/util/runtime.go +++ b/internal/util/runtime.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/util/set.go b/internal/util/set.go index 951f9f5c..c8c93e37 100644 --- a/internal/util/set.go +++ b/internal/util/set.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/util/set_test.go b/internal/util/set_test.go index 5c2c3491..532f38b3 100644 --- a/internal/util/set_test.go +++ b/internal/util/set_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/util/time.go b/internal/util/time.go index 70961859..f32ffb5f 100644 --- a/internal/util/time.go +++ b/internal/util/time.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/util/time_test.go b/internal/util/time_test.go index 095a969e..f2e58f50 100644 --- a/internal/util/time_test.go +++ b/internal/util/time_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/util/version.go b/internal/util/version.go index f16b59bb..6d294d26 100644 --- a/internal/util/version.go +++ b/internal/util/version.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/util/version_test.go b/internal/util/version_test.go index 42d22a3c..449440e6 100644 --- a/internal/util/version_test.go +++ b/internal/util/version_test.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/internal/version.go b/internal/version.go index 544e0ae0..c35c1110 100644 --- a/internal/version.go +++ b/internal/version.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/main.go b/main.go index a39a492d..54754449 100644 --- a/main.go +++ b/main.go @@ -1,5 +1,5 @@ /* - * Copyright 2024 Han Li and contributors + * Copyright 2025 Han Li and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.