Methods

Class Index [+]

Quicksearch

Gem::Package::FSyncDir

Private Instance Methods

fsync_dir(dirname) click to toggle source

make sure this hits the disc

    # File lib/rubygems/package/f_sync_dir.rb, line 14
14:   def fsync_dir(dirname)
15:     dir = open dirname, 'r'
16:     dir.fsync
17:   rescue # ignore IOError if it's an unpatched (old) Ruby
18:   ensure
19:     dir.close if dir rescue nil
20:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.