crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
1c3fcbe5
ROOT
/
go
/
libraries
/
utils
/
filesys
/
lock.go
Search
History
110 lines
|
ISO-8859-1
|
2 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
unlockedStateValue
:
int32
lockedStateValue
:
int32
errLockUnlock
FilesysLock
TryLock
()
:
(bool, error)
Unlock
()
:
error
CreateFilesysLock
(fs Filesys, filename string)
:
FilesysLock
InMemFileLock
state
:
int32
NewInMemFileLock
(fs Filesys)
:
*InMemFileLock
LocalFileLock
lck
:
*fslock.Lock
NewLocalFileLock
(fs Filesys, filename string)
:
*LocalFileLock
*InMemFileLock
TryLock
()
:
(bool, error)
Unlock
()
:
error
*LocalFileLock
TryLock
()
:
(bool, error)
Unlock
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover