swh: Fix docstring of ‘lookup-directory’.
* guix/swh.scm (lookup-directory): Fix docstring. Change-Id: Ia1fd9b2bc9184364cebbd30ee84c9fdea4ba897cmaster
parent
264fdbcaff
commit
5a61ce6bcf
|
@ -446,7 +446,7 @@ FALSE-IF-404? is true, return #f upon 404 responses."
|
||||||
json->revision)
|
json->revision)
|
||||||
|
|
||||||
(define-query (lookup-directory id)
|
(define-query (lookup-directory id)
|
||||||
"Return the directory with the given ID."
|
"Return the list of entries of the directory with the given ID."
|
||||||
(path "/api/1/directory" id)
|
(path "/api/1/directory" id)
|
||||||
json->directory-entries)
|
json->directory-entries)
|
||||||
|
|
||||||
|
|
Reference in New Issue