D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
PStore
/
Filename :
ultra_safe-i.ri
back
Copy
U:RDoc::Attr[iI"ultra_safe:ETI"PStore#ultra_safe;TI"RW;T:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"EWhether \PStore should do its best to prevent file corruptions, ;TI"Seven when an unlikely error (such as memory-error or filesystem error) occurs:;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [ I">+true+: changes are posted by creating a temporary file, ;TI"Pwriting the updated data to it, then renaming the file to the given #path. ;TI"#File integrity is maintained. ;TI"DNote: has effect only if the filesystem has atomic file rename ;TI">(as do POSIX platforms Linux, MacOS, FreeBSD and others).;T@o;;0; [o; ; [I"J+false+ (the default): changes are posted by rewinding the open file ;TI"#and writing the updated data. ;TI";File integrity is maintained if the filesystem raises ;TI"no unexpected I/O error; ;TI":if such an error occurs during a write to the store, ;TI"#the file may become corrupted.;T: @fileI"lib/pstore.rb;T:0@omit_headings_from_table_of_contents_below0F@&I"PStore;TcRDoc::NormalClass0