mirror of
https://github.com/samuelncui/acp.git
synced 2025-12-23 05:05:15 +00:00
feat: rename to samuelncui
This commit is contained in:
@@ -10,7 +10,7 @@ An Advanced Copy Tools, with following extra features:
|
|||||||
# Install
|
# Install
|
||||||
```
|
```
|
||||||
# Install acp
|
# Install acp
|
||||||
go install github.com/abc950309/acp/cmd/acp
|
go install github.com/samuelncui/acp/cmd/acp
|
||||||
```
|
```
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"os/signal"
|
"os/signal"
|
||||||
|
|
||||||
"github.com/abc950309/acp"
|
|
||||||
"github.com/klauspost/cpuid/v2"
|
"github.com/klauspost/cpuid/v2"
|
||||||
|
"github.com/samuelncui/acp"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -8,5 +8,5 @@ func TestFS(t *testing.T) {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
t.Log("mp cahce", mpCache("/Users/cuijingning/go/src/github.com/abc950309/acp"))
|
t.Log("mp cahce", mpCache("/Users/cuijingning/go/src/github.com/samuelncui/acp"))
|
||||||
}
|
}
|
||||||
|
|||||||
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
|||||||
module github.com/abc950309/acp
|
module github.com/samuelncui/acp
|
||||||
|
|
||||||
go 1.18
|
go 1.18
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/abc950309/acp/mmap"
|
"github.com/samuelncui/acp/mmap"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *Copyer) prepare(ctx context.Context, indexed <-chan *baseJob) <-chan *writeJob {
|
func (c *Copyer) prepare(ctx context.Context, indexed <-chan *baseJob) <-chan *writeJob {
|
||||||
|
|||||||
Reference in New Issue
Block a user