fsync

ios.fsync â 0 or nil
Instance Public methods

Immediately writes all buffered data in ios to disk. Note that fsync differs from using IO#sync=. The latter ensures that data is flushed from Ruby's buffers, but does not guarantee that the underlying operating system actually writes it to disk.

NotImplementedError is raised if the underlying operating system does not support fsync(2).

doc_ruby_on_rails
2015-04-13 11:47:43
Comments
Leave a Comment

Please login to continue.