File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
.PHONY : build
2
2
build :
3
- go build -ldflags " -s -w" -o graphsplit graphsplit.go utils.go retrieve .go
3
+ go build -ldflags " -s -w" -o graphsplit graphsplit.go utils.go restore .go
Original file line number Diff line number Diff line change @@ -43,12 +43,12 @@ Import car file to IPFS:
43
43
ipfs dag import /path/to/car-dir/car-file
44
44
```
45
45
46
- Retrieve files:
46
+ Restore files:
47
47
``` sh
48
48
# car-path: directory or file, in form of .car
49
49
# output-dir: usually just be the same as /path/to/output-dir
50
- # parallel: number goroutines run when retrieving
51
- ./graphsplit retrieve \
50
+ # parallel: number goroutines run when restoring
51
+ ./graphsplit restore \
52
52
--car-path=/path/to/car-path \
53
53
--output-dir=/path/to/output-dir \
54
54
--parallel=2
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ func main() {
16
16
logging .SetLogLevel ("*" , "INFO" )
17
17
local := []* cli.Command {
18
18
chunkCmd ,
19
- retrieveCmd ,
19
+ restoreCmd ,
20
20
}
21
21
22
22
app := & cli.App {
@@ -170,9 +170,9 @@ var chunkCmd = &cli.Command{
170
170
},
171
171
}
172
172
173
- var retrieveCmd = & cli.Command {
174
- Name : "retrieve " ,
175
- Usage : "Retrieve files from CAR files" ,
173
+ var restoreCmd = & cli.Command {
174
+ Name : "restore " ,
175
+ Usage : "Restore files from CAR files" ,
176
176
Flags : []cli.Flag {
177
177
& cli.StringFlag {
178
178
Name : "car-path" ,
File renamed without changes.
You can’t perform that action at this time.
0 commit comments