aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-04-05 21:37:17 +0800
committerRunxi Yu <me@runxiyu.org>2025-04-05 21:37:17 +0800
commit6d19e8f3f16744e21de6020a9155c6bb6838d27d (patch)
tree1227d4ca45d680fecdc51f852c4e8f3659683fec
parentMove things to internal/ (diff)
downloadforge-6d19e8f3f16744e21de6020a9155c6bb6838d27d.tar.gz
forge-6d19e8f3f16744e21de6020a9155c6bb6838d27d.tar.zst
forge-6d19e8f3f16744e21de6020a9155c6bb6838d27d.zip
Add missing copyright headers
-rw-r--r--internal/ansiec/colors.go3
-rw-r--r--internal/ansiec/reset.go3
-rw-r--r--internal/ansiec/style.go3
-rw-r--r--internal/git2c/client.go3
-rw-r--r--internal/git2c/cmd1.go3
-rw-r--r--internal/git2c/cmd2.go3
-rw-r--r--internal/git2c/git_types.go3
-rw-r--r--internal/misc/misc.go3
-rw-r--r--internal/render/chroma.go3
-rw-r--r--internal/render/escape.go3
-rw-r--r--server.go3
11 files changed, 33 insertions, 0 deletions
diff --git a/internal/ansiec/colors.go b/internal/ansiec/colors.go
index fa8ea4f..2068e90 100644
--- a/internal/ansiec/colors.go
+++ b/internal/ansiec/colors.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package ansiec
var (
diff --git a/internal/ansiec/reset.go b/internal/ansiec/reset.go
index 82a56d5..9837396 100644
--- a/internal/ansiec/reset.go
+++ b/internal/ansiec/reset.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package ansiec
var Reset = "\x1b[0m"
diff --git a/internal/ansiec/style.go b/internal/ansiec/style.go
index 18050df..bcd0154 100644
--- a/internal/ansiec/style.go
+++ b/internal/ansiec/style.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package ansiec
var (
diff --git a/internal/git2c/client.go b/internal/git2c/client.go
index c4c3ab4..f9b562f 100644
--- a/internal/git2c/client.go
+++ b/internal/git2c/client.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package git2c
import (
diff --git a/internal/git2c/cmd1.go b/internal/git2c/cmd1.go
index ba59b5a..68493a2 100644
--- a/internal/git2c/cmd1.go
+++ b/internal/git2c/cmd1.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package git2c
import (
diff --git a/internal/git2c/cmd2.go b/internal/git2c/cmd2.go
index c688dd2..3bff332 100644
--- a/internal/git2c/cmd2.go
+++ b/internal/git2c/cmd2.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package git2c
import (
diff --git a/internal/git2c/git_types.go b/internal/git2c/git_types.go
index da90db6..da685bf 100644
--- a/internal/git2c/git_types.go
+++ b/internal/git2c/git_types.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package git2c
type Commit struct {
diff --git a/internal/misc/misc.go b/internal/misc/misc.go
index ee0fd7a..87f7f70 100644
--- a/internal/misc/misc.go
+++ b/internal/misc/misc.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package misc
import "strings"
diff --git a/internal/render/chroma.go b/internal/render/chroma.go
index c7d64ec..c1a1869 100644
--- a/internal/render/chroma.go
+++ b/internal/render/chroma.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package render
import (
diff --git a/internal/render/escape.go b/internal/render/escape.go
index 44c56f3..031e333 100644
--- a/internal/render/escape.go
+++ b/internal/render/escape.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package render
import (
diff --git a/server.go b/server.go
index ce69380..c025f45 100644
--- a/server.go
+++ b/server.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package forge
import (