mirror of
https://github.com/restic/restic.git
synced 2024-12-23 08:16:36 +00:00
21 lines
360 B
Go
21 lines
360 B
Go
package main
|
|
|
|
import (
|
|
"github.com/fd0/khepri"
|
|
"github.com/fd0/khepri/backend"
|
|
)
|
|
|
|
func commandList(be backend.Server, key *khepri.Key, args []string) error {
|
|
|
|
// ids, err := be.ListRefs()
|
|
// if err != nil {
|
|
// fmt.Fprintf(os.Stderr, "error: %v\n", err)
|
|
// return nil
|
|
// }
|
|
|
|
// for _, id := range ids {
|
|
// fmt.Printf("%v\n", id)
|
|
// }
|
|
|
|
return nil
|
|
}
|