This commit is contained in:
Łukasz Magiera 2020-11-27 16:32:12 +01:00
parent 663b3f4f21
commit dc7c7608df
2 changed files with 28 additions and 0 deletions

View File

@ -234,6 +234,9 @@ func init() {
}, },
}) })
addExample(storiface.ErrorCode(0)) addExample(storiface.ErrorCode(0))
addExample(map[abi.SectorNumber]string{
123: "can't acquire read lock",
})
// worker specific // worker specific
addExample(storiface.AcquireMove) addExample(storiface.AcquireMove)

View File

@ -10,6 +10,8 @@
* [Auth](#Auth) * [Auth](#Auth)
* [AuthNew](#AuthNew) * [AuthNew](#AuthNew)
* [AuthVerify](#AuthVerify) * [AuthVerify](#AuthVerify)
* [Check](#Check)
* [CheckProvable](#CheckProvable)
* [Create](#Create) * [Create](#Create)
* [CreateBackup](#CreateBackup) * [CreateBackup](#CreateBackup)
* [Deals](#Deals) * [Deals](#Deals)
@ -218,6 +220,29 @@ Inputs:
Response: `null` Response: `null`
## Check
### CheckProvable
There are not yet any comments for this method.
Perms: admin
Inputs:
```json
[
8,
null
]
```
Response:
```json
{
"123": "can't acquire read lock"
}
```
## Create ## Create