diff options
| author | 2026-05-27 06:14:54 +0000 | |
|---|---|---|
| committer | 2026-05-27 06:14:54 +0000 | |
| commit | c1122079bf6ebf1ef0db2ee5048e134c9ee9a850 (patch) | |
| tree | 46ce23f979dfd2a0121aff7c2be03adcad99ac4a /internal | |
| parent | README: Use next's (diff) | |
| signature | No signature | |
Switch package URLs to lindenii.org/go/furgit v0.1.178
Diffstat (limited to 'internal')
46 files changed, 51 insertions, 51 deletions
diff --git a/internal/adler32/adler32_amd64.go b/internal/adler32/adler32_amd64.go index 49ed8b6e..119e080b 100644 --- a/internal/adler32/adler32_amd64.go +++ b/internal/adler32/adler32_amd64.go @@ -8,7 +8,7 @@ import ( "hash" "hash/adler32" - "codeberg.org/lindenii/furgit/internal/cpu" + "lindenii.org/go/furgit/internal/cpu" ) // Size of an Adler-32 checksum in bytes. diff --git a/internal/adler32/bench_test.go b/internal/adler32/bench_test.go index 1161221a..fa5a3f9e 100644 --- a/internal/adler32/bench_test.go +++ b/internal/adler32/bench_test.go @@ -3,7 +3,7 @@ package adler32_test import ( "testing" - "codeberg.org/lindenii/furgit/internal/adler32" + "lindenii.org/go/furgit/internal/adler32" ) const benchmarkSize = 64 * 1024 diff --git a/internal/compress/flate/deflate.go b/internal/compress/flate/deflate.go index d8a1ff2a..8c8457e2 100644 --- a/internal/compress/flate/deflate.go +++ b/internal/compress/flate/deflate.go @@ -11,7 +11,7 @@ import ( "io" "math" - "codeberg.org/lindenii/furgit/internal/compress/internal/le" + "lindenii.org/go/furgit/internal/compress/internal/le" ) const ( diff --git a/internal/compress/flate/example_test.go b/internal/compress/flate/example_test.go index 0861c4da..45f44edf 100644 --- a/internal/compress/flate/example_test.go +++ b/internal/compress/flate/example_test.go @@ -13,7 +13,7 @@ import ( "strings" "sync" - "codeberg.org/lindenii/furgit/internal/compress/flate" + "lindenii.org/go/furgit/internal/compress/flate" ) // In performance critical applications, Reset can be used to discard the diff --git a/internal/compress/flate/fast_encoder.go b/internal/compress/flate/fast_encoder.go index 39393020..7af14349 100644 --- a/internal/compress/flate/fast_encoder.go +++ b/internal/compress/flate/fast_encoder.go @@ -8,7 +8,7 @@ package flate import ( "fmt" - "codeberg.org/lindenii/furgit/internal/compress/internal/le" + "lindenii.org/go/furgit/internal/compress/internal/le" ) type fastEnc interface { diff --git a/internal/compress/flate/fuzz_test.go b/internal/compress/flate/fuzz_test.go index 5c361956..b3d0098f 100644 --- a/internal/compress/flate/fuzz_test.go +++ b/internal/compress/flate/fuzz_test.go @@ -10,7 +10,7 @@ import ( "strconv" "testing" - "codeberg.org/lindenii/furgit/internal/compress/internal/fuzz" + "lindenii.org/go/furgit/internal/compress/internal/fuzz" ) // Fuzzing tweaks: diff --git a/internal/compress/flate/huffman_bit_writer.go b/internal/compress/flate/huffman_bit_writer.go index aff3c960..18dff811 100644 --- a/internal/compress/flate/huffman_bit_writer.go +++ b/internal/compress/flate/huffman_bit_writer.go @@ -9,7 +9,7 @@ import ( "io" "math" - "codeberg.org/lindenii/furgit/internal/compress/internal/le" + "lindenii.org/go/furgit/internal/compress/internal/le" ) const ( diff --git a/internal/compress/flate/level1.go b/internal/compress/flate/level1.go index 41c312e8..d7bad88d 100644 --- a/internal/compress/flate/level1.go +++ b/internal/compress/flate/level1.go @@ -3,7 +3,7 @@ package flate import ( "fmt" - "codeberg.org/lindenii/furgit/internal/compress/internal/le" + "lindenii.org/go/furgit/internal/compress/internal/le" ) // fastGen maintains the table for matches, diff --git a/internal/compress/flate/matchlen_generic.go b/internal/compress/flate/matchlen_generic.go index 63c0637d..0ccaeb93 100644 --- a/internal/compress/flate/matchlen_generic.go +++ b/internal/compress/flate/matchlen_generic.go @@ -6,7 +6,7 @@ package flate import ( "math/bits" - "codeberg.org/lindenii/furgit/internal/compress/internal/le" + "lindenii.org/go/furgit/internal/compress/internal/le" ) // matchLen returns the maximum common prefix length of a and b. diff --git a/internal/compress/flate/stateless.go b/internal/compress/flate/stateless.go index 7e944bfb..8f86e2e6 100644 --- a/internal/compress/flate/stateless.go +++ b/internal/compress/flate/stateless.go @@ -5,7 +5,7 @@ import ( "math" "sync" - "codeberg.org/lindenii/furgit/internal/compress/internal/le" + "lindenii.org/go/furgit/internal/compress/internal/le" ) const ( diff --git a/internal/compress/zlib/reader.go b/internal/compress/zlib/reader.go index 78df4f56..da82b673 100644 --- a/internal/compress/zlib/reader.go +++ b/internal/compress/zlib/reader.go @@ -40,8 +40,8 @@ import ( "io" "sync" - "codeberg.org/lindenii/furgit/internal/compress/flate" - "codeberg.org/lindenii/furgit/internal/intconv" + "lindenii.org/go/furgit/internal/compress/flate" + "lindenii.org/go/furgit/internal/intconv" ) const ( diff --git a/internal/compress/zlib/reader_reset.go b/internal/compress/zlib/reader_reset.go index 0d531896..fe33fd6a 100644 --- a/internal/compress/zlib/reader_reset.go +++ b/internal/compress/zlib/reader_reset.go @@ -10,9 +10,9 @@ import ( "errors" "io" - "codeberg.org/lindenii/furgit/internal/adler32" - "codeberg.org/lindenii/furgit/internal/compress/flate" - "codeberg.org/lindenii/furgit/internal/intconv" + "lindenii.org/go/furgit/internal/adler32" + "lindenii.org/go/furgit/internal/compress/flate" + "lindenii.org/go/furgit/internal/intconv" ) // reset resets receiver to read a new zlib stream. diff --git a/internal/compress/zlib/reader_test.go b/internal/compress/zlib/reader_test.go index 2cfa8a97..99a68202 100644 --- a/internal/compress/zlib/reader_test.go +++ b/internal/compress/zlib/reader_test.go @@ -10,7 +10,7 @@ import ( "io" "testing" - "codeberg.org/lindenii/furgit/internal/compress/zlib" + "lindenii.org/go/furgit/internal/compress/zlib" ) type zlibTest struct { diff --git a/internal/compress/zlib/writer.go b/internal/compress/zlib/writer.go index 05808eb6..ee3ce329 100644 --- a/internal/compress/zlib/writer.go +++ b/internal/compress/zlib/writer.go @@ -11,7 +11,7 @@ import ( "io" "sync" - "codeberg.org/lindenii/furgit/internal/compress/flate" + "lindenii.org/go/furgit/internal/compress/flate" ) // These constants are copied from the [flate] package, so that code that imports diff --git a/internal/compress/zlib/writer_header.go b/internal/compress/zlib/writer_header.go index 43d3bdf5..6a5f09de 100644 --- a/internal/compress/zlib/writer_header.go +++ b/internal/compress/zlib/writer_header.go @@ -7,8 +7,8 @@ package zlib import ( "encoding/binary" - "codeberg.org/lindenii/furgit/internal/adler32" - "codeberg.org/lindenii/furgit/internal/compress/flate" + "lindenii.org/go/furgit/internal/adler32" + "lindenii.org/go/furgit/internal/compress/flate" ) // writeHeader writes the ZLIB header. diff --git a/internal/compress/zlib/writer_test.go b/internal/compress/zlib/writer_test.go index 541aac65..eddf4c0c 100644 --- a/internal/compress/zlib/writer_test.go +++ b/internal/compress/zlib/writer_test.go @@ -12,7 +12,7 @@ import ( "path/filepath" "testing" - "codeberg.org/lindenii/furgit/internal/compress/zlib" + "lindenii.org/go/furgit/internal/compress/zlib" ) //nolint:gochecknoglobals diff --git a/internal/iolimit/capped_capture_writer_test.go b/internal/iolimit/capped_capture_writer_test.go index e95d06ef..2793f8cb 100644 --- a/internal/iolimit/capped_capture_writer_test.go +++ b/internal/iolimit/capped_capture_writer_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "codeberg.org/lindenii/furgit/internal/iolimit" + "lindenii.org/go/furgit/internal/iolimit" ) func TestCappedCaptureWriterWithinLimit(t *testing.T) { diff --git a/internal/iolimit/expect_length_reader_test.go b/internal/iolimit/expect_length_reader_test.go index e2cfeab0..6508e5eb 100644 --- a/internal/iolimit/expect_length_reader_test.go +++ b/internal/iolimit/expect_length_reader_test.go @@ -6,7 +6,7 @@ import ( "io" "testing" - "codeberg.org/lindenii/furgit/internal/iolimit" + "lindenii.org/go/furgit/internal/iolimit" ) func TestExpectLengthReaderExact(t *testing.T) { diff --git a/internal/lru/lru_test.go b/internal/lru/lru_test.go index 006a32b8..7093b4f9 100644 --- a/internal/lru/lru_test.go +++ b/internal/lru/lru_test.go @@ -4,7 +4,7 @@ import ( "slices" "testing" - "codeberg.org/lindenii/furgit/internal/lru" + "lindenii.org/go/furgit/internal/lru" ) type testValue struct { diff --git a/internal/priorityqueue/queue_test.go b/internal/priorityqueue/queue_test.go index f6ab7833..14ed1ff6 100644 --- a/internal/priorityqueue/queue_test.go +++ b/internal/priorityqueue/queue_test.go @@ -4,7 +4,7 @@ import ( "slices" "testing" - "codeberg.org/lindenii/furgit/internal/priorityqueue" + "lindenii.org/go/furgit/internal/priorityqueue" ) func TestQueueAscending(t *testing.T) { diff --git a/internal/progress/counters.go b/internal/progress/counters.go index 7c7a5085..1ed62b7a 100644 --- a/internal/progress/counters.go +++ b/internal/progress/counters.go @@ -3,7 +3,7 @@ package progress import ( "fmt" - "codeberg.org/lindenii/furgit/internal/intconv" + "lindenii.org/go/furgit/internal/intconv" ) func (meter *Meter) renderCounters() string { diff --git a/internal/progress/meter.go b/internal/progress/meter.go index bdf0e613..368ebed2 100644 --- a/internal/progress/meter.go +++ b/internal/progress/meter.go @@ -3,7 +3,7 @@ package progress import ( "time" - "codeberg.org/lindenii/furgit/common/iowrap" + "lindenii.org/go/furgit/common/iowrap" ) // Meter renders one in-place progress line. diff --git a/internal/progress/options.go b/internal/progress/options.go index 40dd9758..320b8934 100644 --- a/internal/progress/options.go +++ b/internal/progress/options.go @@ -3,7 +3,7 @@ package progress import ( "time" - "codeberg.org/lindenii/furgit/common/iowrap" + "lindenii.org/go/furgit/common/iowrap" ) // Options configures one progress meter. diff --git a/internal/progress/render.go b/internal/progress/render.go index ae188c0e..6cccee90 100644 --- a/internal/progress/render.go +++ b/internal/progress/render.go @@ -4,7 +4,7 @@ import ( "strings" "time" - "codeberg.org/lindenii/furgit/internal/utils" + "lindenii.org/go/furgit/internal/utils" ) func (meter *Meter) render(now time.Time, eol string) { diff --git a/internal/progress/set.go b/internal/progress/set.go index 06cf889d..42cfa235 100644 --- a/internal/progress/set.go +++ b/internal/progress/set.go @@ -3,7 +3,7 @@ package progress import ( "time" - "codeberg.org/lindenii/furgit/internal/intconv" + "lindenii.org/go/furgit/internal/intconv" ) // Set records current progress and renders when percent changed or the 1s tick diff --git a/internal/testgit/algorithms.go b/internal/testgit/algorithms.go index aea4dc12..78613dbe 100644 --- a/internal/testgit/algorithms.go +++ b/internal/testgit/algorithms.go @@ -3,7 +3,7 @@ package testgit import ( "testing" - objectid "codeberg.org/lindenii/furgit/object/id" + objectid "lindenii.org/go/furgit/object/id" ) // ForEachAlgorithm runs a subtest for every supported algorithm. diff --git a/internal/testgit/repo.go b/internal/testgit/repo.go index 72831bd6..c8a608bb 100644 --- a/internal/testgit/repo.go +++ b/internal/testgit/repo.go @@ -1,7 +1,7 @@ // Package testgit provides helpers for integration tests with upstream git(1). package testgit -import objectid "codeberg.org/lindenii/furgit/object/id" +import objectid "lindenii.org/go/furgit/object/id" // TestRepo is a temporary git repository harness for integration tests. type TestRepo struct { diff --git a/internal/testgit/repo_cat_file.go b/internal/testgit/repo_cat_file.go index 7dbd2c43..e0203980 100644 --- a/internal/testgit/repo_cat_file.go +++ b/internal/testgit/repo_cat_file.go @@ -3,7 +3,7 @@ package testgit import ( "testing" - objectid "codeberg.org/lindenii/furgit/object/id" + objectid "lindenii.org/go/furgit/object/id" ) // CatFile returns raw output from git cat-file. diff --git a/internal/testgit/repo_commit_tree.go b/internal/testgit/repo_commit_tree.go index 3a5a75ac..421d6209 100644 --- a/internal/testgit/repo_commit_tree.go +++ b/internal/testgit/repo_commit_tree.go @@ -3,7 +3,7 @@ package testgit import ( "testing" - objectid "codeberg.org/lindenii/furgit/object/id" + objectid "lindenii.org/go/furgit/object/id" ) // CommitTree creates a commit from a tree and message, optionally with parents. diff --git a/internal/testgit/repo_commit_tree_env.go b/internal/testgit/repo_commit_tree_env.go index fbddf26f..7645f068 100644 --- a/internal/testgit/repo_commit_tree_env.go +++ b/internal/testgit/repo_commit_tree_env.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - objectid "codeberg.org/lindenii/furgit/object/id" + objectid "lindenii.org/go/furgit/object/id" ) // CommitTreeWithEnv creates one commit from a tree and message, optionally with diff --git a/internal/testgit/repo_from_fixture.go b/internal/testgit/repo_from_fixture.go index 632de12a..1bebda56 100644 --- a/internal/testgit/repo_from_fixture.go +++ b/internal/testgit/repo_from_fixture.go @@ -5,7 +5,7 @@ import ( "os" "testing" - objectid "codeberg.org/lindenii/furgit/object/id" + objectid "lindenii.org/go/furgit/object/id" ) // NewRepoFromFixture copies one existing repository fixture into a temp dir. diff --git a/internal/testgit/repo_hash_object.go b/internal/testgit/repo_hash_object.go index 75f1a7ab..4e2b1fc2 100644 --- a/internal/testgit/repo_hash_object.go +++ b/internal/testgit/repo_hash_object.go @@ -3,7 +3,7 @@ package testgit import ( "testing" - objectid "codeberg.org/lindenii/furgit/object/id" + objectid "lindenii.org/go/furgit/object/id" ) // HashObject hashes and writes an object and returns its object ID. diff --git a/internal/testgit/repo_make_commit.go b/internal/testgit/repo_make_commit.go index 32a063f7..60f90a8a 100644 --- a/internal/testgit/repo_make_commit.go +++ b/internal/testgit/repo_make_commit.go @@ -3,7 +3,7 @@ package testgit import ( "testing" - objectid "codeberg.org/lindenii/furgit/object/id" + objectid "lindenii.org/go/furgit/object/id" ) // MakeCommit creates a commit over a single-file tree and returns (blobID, treeID, commitID). diff --git a/internal/testgit/repo_make_many_objects_history.go b/internal/testgit/repo_make_many_objects_history.go index f71ead2c..4402a5bf 100644 --- a/internal/testgit/repo_make_many_objects_history.go +++ b/internal/testgit/repo_make_many_objects_history.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - objectid "codeberg.org/lindenii/furgit/object/id" + objectid "lindenii.org/go/furgit/object/id" ) const ( diff --git a/internal/testgit/repo_make_single_file_tree.go b/internal/testgit/repo_make_single_file_tree.go index ace98e8a..aca44515 100644 --- a/internal/testgit/repo_make_single_file_tree.go +++ b/internal/testgit/repo_make_single_file_tree.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - objectid "codeberg.org/lindenii/furgit/object/id" + objectid "lindenii.org/go/furgit/object/id" ) // MakeSingleFileTree writes one blob and one tree entry for it and returns (blobID, treeID). diff --git a/internal/testgit/repo_mktree.go b/internal/testgit/repo_mktree.go index 893d211e..4229cece 100644 --- a/internal/testgit/repo_mktree.go +++ b/internal/testgit/repo_mktree.go @@ -3,7 +3,7 @@ package testgit import ( "testing" - objectid "codeberg.org/lindenii/furgit/object/id" + objectid "lindenii.org/go/furgit/object/id" ) // Mktree creates a tree from textual mktree input and returns its ID. diff --git a/internal/testgit/repo_new.go b/internal/testgit/repo_new.go index b7c9968b..b7732ad7 100644 --- a/internal/testgit/repo_new.go +++ b/internal/testgit/repo_new.go @@ -4,7 +4,7 @@ import ( "os" "testing" - objectid "codeberg.org/lindenii/furgit/object/id" + objectid "lindenii.org/go/furgit/object/id" ) // RepoOptions controls git-init options for test repositories. diff --git a/internal/testgit/repo_open_commit_graph.go b/internal/testgit/repo_open_commit_graph.go index 4db7261b..ed354747 100644 --- a/internal/testgit/repo_open_commit_graph.go +++ b/internal/testgit/repo_open_commit_graph.go @@ -3,7 +3,7 @@ package testgit import ( "testing" - commitgraphread "codeberg.org/lindenii/furgit/format/commitgraph/read" + commitgraphread "lindenii.org/go/furgit/format/commitgraph/read" ) // OpenCommitGraph opens the repository commit-graph and registers cleanup on diff --git a/internal/testgit/repo_open_object_store.go b/internal/testgit/repo_open_object_store.go index 256ee54a..066fd9d4 100644 --- a/internal/testgit/repo_open_object_store.go +++ b/internal/testgit/repo_open_object_store.go @@ -3,8 +3,8 @@ package testgit import ( "testing" - objectstore "codeberg.org/lindenii/furgit/object/store" - "codeberg.org/lindenii/furgit/repository" + objectstore "lindenii.org/go/furgit/object/store" + "lindenii.org/go/furgit/repository" ) // OpenObjectStore opens the repository object store and registers cleanup on diff --git a/internal/testgit/repo_open_repository.go b/internal/testgit/repo_open_repository.go index fbc98383..cea721e0 100644 --- a/internal/testgit/repo_open_repository.go +++ b/internal/testgit/repo_open_repository.go @@ -3,7 +3,7 @@ package testgit import ( "testing" - "codeberg.org/lindenii/furgit/repository" + "lindenii.org/go/furgit/repository" ) // OpenRepository opens the repository and registers cleanup on the caller. diff --git a/internal/testgit/repo_properties.go b/internal/testgit/repo_properties.go index d46e9030..e1047bbf 100644 --- a/internal/testgit/repo_properties.go +++ b/internal/testgit/repo_properties.go @@ -1,6 +1,6 @@ package testgit -import objectid "codeberg.org/lindenii/furgit/object/id" +import objectid "lindenii.org/go/furgit/object/id" // Algorithm returns the object ID algorithm configured for this repository. func (testRepo *TestRepo) Algorithm() objectid.Algorithm { diff --git a/internal/testgit/repo_refs.go b/internal/testgit/repo_refs.go index a92e1658..d44f77e6 100644 --- a/internal/testgit/repo_refs.go +++ b/internal/testgit/repo_refs.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - objectid "codeberg.org/lindenii/furgit/object/id" + objectid "lindenii.org/go/furgit/object/id" ) // UpdateRef updates a ref to point at id. diff --git a/internal/testgit/repo_remove_loose_object.go b/internal/testgit/repo_remove_loose_object.go index 345d9db7..95bdef57 100644 --- a/internal/testgit/repo_remove_loose_object.go +++ b/internal/testgit/repo_remove_loose_object.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - objectid "codeberg.org/lindenii/furgit/object/id" + objectid "lindenii.org/go/furgit/object/id" ) // RemoveLooseObject removes one loose object file from the repository. diff --git a/internal/testgit/repo_rev_list.go b/internal/testgit/repo_rev_list.go index 6b0c4f76..babba8da 100644 --- a/internal/testgit/repo_rev_list.go +++ b/internal/testgit/repo_rev_list.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - objectid "codeberg.org/lindenii/furgit/object/id" + objectid "lindenii.org/go/furgit/object/id" ) // RevList runs "git rev-list" with args and parses one object ID per line. diff --git a/internal/testgit/repo_rev_parse.go b/internal/testgit/repo_rev_parse.go index fcdee605..22ae1c0e 100644 --- a/internal/testgit/repo_rev_parse.go +++ b/internal/testgit/repo_rev_parse.go @@ -3,7 +3,7 @@ package testgit import ( "testing" - objectid "codeberg.org/lindenii/furgit/object/id" + objectid "lindenii.org/go/furgit/object/id" ) // RevParse resolves rev expressions to object IDs. diff --git a/internal/testgit/repo_tag_annotated.go b/internal/testgit/repo_tag_annotated.go index cf6e9b3d..7e374102 100644 --- a/internal/testgit/repo_tag_annotated.go +++ b/internal/testgit/repo_tag_annotated.go @@ -3,7 +3,7 @@ package testgit import ( "testing" - objectid "codeberg.org/lindenii/furgit/object/id" + objectid "lindenii.org/go/furgit/object/id" ) // TagAnnotated creates an annotated tag object and returns the resulting tag object ID. |
