| 21 | ) |
| 22 | |
| 23 | type FileLock struct { |
| 24 | name string |
| 25 | path string |
| 26 | prefix string |
| 27 | |
| 28 | flockType int |
| 29 | fileH *os.File |
| 30 | } |
| 31 | |
| 32 | // Creates new FileLock object given a unique name. |
| 33 | func New(name string) *FileLock { |
nothing calls this directly
no outgoing calls
no test coverage detected