mirror of
https://github.com/restic/restic.git
synced 2024-12-23 16:26:11 +00:00
Remove unused 'ram' tool
This commit is contained in:
parent
0ed2a066a0
commit
53ad706c6d
1 changed files with 0 additions and 26 deletions
|
@ -1,26 +0,0 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/restic/restic"
|
||||
)
|
||||
|
||||
func main() {
|
||||
max := int(1e6)
|
||||
nodes := make([]*restic.Node, 0, max)
|
||||
|
||||
fi, err := os.Lstat("main.go")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
for i := 0; i < max; i++ {
|
||||
node, err := restic.NodeFromFileInfo("main.go", fi)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
nodes = append(nodes, node)
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue