(username, key)
| 511 | } |
| 512 | |
| 513 | tryLock(username, key) { |
| 514 | try { |
| 515 | fs.accessSync(`/jd/log/lock/${key}_${username}`); |
| 516 | return false; |
| 517 | } catch (e) { |
| 518 | return true; |
| 519 | } |
| 520 | } |
| 521 | |
| 522 | setLock(username, key) { |
| 523 | try { |
nothing calls this directly
no outgoing calls
no test coverage detected