()
| 1566 | } |
| 1567 | |
| 1568 | func runtimeSetLockToken() (string, error) { |
| 1569 | raw := make([]byte, runtimeSetLockTokenSize) |
| 1570 | if _, err := rand.Read(raw); err != nil { |
| 1571 | return "", err |
| 1572 | } |
| 1573 | return hex.EncodeToString(raw), nil |
| 1574 | } |
| 1575 | |
| 1576 | func runtimeSetLockOwner(lockPath string) (runtimeSetLockOwnerRecord, bool) { |
| 1577 | var empty runtimeSetLockOwnerRecord |
no test coverage detected