method
lock_file
v7.0.0 -
Show latest stable
- Class:
ActiveSupport::Cache::FileStore
lock_file(file_name, &block)private
Lock a file for a block so only one process can modify it at a time.
lock_file(file_name, &block)Lock a file for a block so only one process can modify it at a time.