mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
18 lines
553 B
Plaintext
18 lines
553 B
Plaintext
{
|
|
"'lockfile'": {
|
|
"Options": {
|
|
"wait": "number",
|
|
"stale": "number",
|
|
"retries": "number",
|
|
"retryWait": "number"
|
|
},
|
|
"lock": "fn(path: string, opts: Options, callback: fn(err: Error))",
|
|
"lockSync": "fn(path: string, opts: Options)",
|
|
"unlock": "fn(path: string, callback: fn(err: Error))",
|
|
"unlockSync": "fn(path: string)",
|
|
"check": "fn(path: string, opts: Options, callback: fn(err: Error, isLocked: bool))",
|
|
"checkSync": "fn(path: string, opts: Options) -> bool"
|
|
},
|
|
"!name": "lockfile.d.ts"
|
|
}
|