add refs local alias repo ls (#9320)
* add refs local alias repo ls * add test for /repo/ls Co-authored-by: Nikhilesh Susarla <nikhilesh.susarla@cylogic.com>
Nikhilesh Susarla committed
Oct 13, 2022 at 21:00 UTC
553d3e0ce716b8c33961a89f4c4158a636a7ff4d
2 files changed
+2
core/commands/commands_test.go
+1
@@ -227,6 +227,7 @@ func TestCommands(t *testing.T) {
227
"/repo/stat",
228
"/repo/verify",
229
"/repo/version",
230
+ "/repo/ls",
231
"/resolve",
232
"/shutdown",
233
"/stats",
core/commands/repo.go
+1
@@ -43,6 +43,7 @@ var RepoCmd = &cmds.Command{
43
"version": repoVersionCmd,
44
"verify": repoVerifyCmd,
45
"migrate": repoMigrateCmd,
46
+ "ls": RefsLocalCmd,
47
},
48
}
49