Flowdock
open_and_lock_file(filename, read_only) private

Open the specified filename (either in read-only mode or in read-write mode) and lock it for reading or writing.

The opened File object will be returned. If read_only is true, and the file does not exist, then nil will be returned.

All exceptions are propagated.

Show source
Register or log in to add new notes.