Sha256: 0b11b631a45c73dcb301140f75ad0966f6815d86967410de8d85262e0cc5c7d6
Contents?: true
Size: 430 Bytes
Versions: 4
Compression:
Stored size: 430 Bytes
Contents
#++ # Copyright (C) 2004 Mauricio Julio Fernández Pradier # See LICENSE.txt for additional licensing information. #-- require 'rubygems/package' module Gem::Package::FSyncDir private ## # make sure this hits the disc def fsync_dir(dirname) dir = open dirname, 'r' dir.fsync rescue # ignore IOError if it's an unpatched (old) Ruby ensure dir.close if dir rescue nil end end
Version data entries
4 entries across 4 versions & 1 rubygems