mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-02 11:58:28 +00:00
Because I am a muppet
This commit is contained in:
parent
4fd614be09
commit
7b5ab29a6d
@ -11,8 +11,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/syncthing/protocol"
|
|
||||||
"github.com/syncthing/syncthing/lib/db"
|
"github.com/syncthing/syncthing/lib/db"
|
||||||
|
"github.com/syncthing/syncthing/lib/protocol"
|
||||||
"github.com/syndtr/goleveldb/leveldb"
|
"github.com/syndtr/goleveldb/leveldb"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@ import (
|
|||||||
"container/heap"
|
"container/heap"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/syncthing/protocol"
|
|
||||||
"github.com/syncthing/syncthing/lib/db"
|
"github.com/syncthing/syncthing/lib/db"
|
||||||
|
"github.com/syncthing/syncthing/lib/protocol"
|
||||||
"github.com/syndtr/goleveldb/leveldb"
|
"github.com/syndtr/goleveldb/leveldb"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ func main() {
|
|||||||
if mode == "dump" {
|
if mode == "dump" {
|
||||||
dump(ldb)
|
dump(ldb)
|
||||||
} else if mode == "dumpsize" {
|
} else if mode == "dumpsize" {
|
||||||
size(ldb)
|
dumpsize(ldb)
|
||||||
} else {
|
} else {
|
||||||
fmt.Println("Unknown mode")
|
fmt.Println("Unknown mode")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user