mirror of
https://github.com/octoleo/restic.git
synced 2024-11-05 04:47:51 +00:00
22 lines
360 B
Go
22 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
|
|
}
|