restic/cmd/khepri/cmd_list.go

22 lines
360 B
Go
Raw Normal View History

2014-08-01 22:20:28 +02:00
package main
import (
"github.com/fd0/khepri"
2014-09-23 22:39:12 +02:00
"github.com/fd0/khepri/backend"
2014-08-01 22:20:28 +02:00
)
2014-09-23 22:39:12 +02:00
func commandList(be backend.Server, key *khepri.Key, args []string) error {
2014-08-01 22:20:28 +02:00
2014-09-23 22:39:12 +02:00
// ids, err := be.ListRefs()
// if err != nil {
// fmt.Fprintf(os.Stderr, "error: %v\n", err)
// return nil
// }
2014-08-01 22:20:28 +02:00
2014-09-23 22:39:12 +02:00
// for _, id := range ids {
// fmt.Printf("%v\n", id)
// }
2014-08-01 22:20:28 +02:00
return nil
}