Sha256: 29d194d12112ab30df4c8f7153aadb21e5e152964c2ee9a7ed44f178640c7cf1
Contents?: true
Size: 406 Bytes
Versions: 11
Compression:
Stored size: 406 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
11 entries across 11 versions & 2 rubygems