Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Bundler
/
SharedHelpers
/
//opt/alt/ruby27/share/ri/system/Bundler/SharedHelpers/filesystem_access-i.ri
U:RDoc::AnyMethod[iI"filesystem_access:ETI"-Bundler::SharedHelpers#filesystem_access;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"ARescues permissions errors raised by file system operations ;TI"P(ie. Errno:EACCESS, Errno::EAGAIN) and raises more friendly errors instead.;To:RDoc::Markup::BlankLine o; ; [I"H@param path [String] the path that the action will be attempted to ;TI"E@param action [Symbol, #to_s] the type of operation that will be;To:RDoc::Markup::Verbatim; [I"2performed. For example: :write, :read, :exec ;T:@format0o; ; [I"@yield path;T@o; ; [I"G@raise [Bundler::PermissionError] if Errno:EACCES is raised in the;To;; [I"given block ;T; 0o; ; [I"N@raise [Bundler::TemporaryResourceError] if Errno:EAGAIN is raised in the;To;; [I"given block ;T; 0o; ; [I" @example;To;; [I"2filesystem_access("vendor/cache", :write) do ;TI") FileUtils.mkdir_p("vendor/cache") ;TI" end ;T; 0o; ; [I"$@see {Bundler::PermissionError};T: @fileI""lib/bundler/shared_helpers.rb;T:0@omit_headings_from_table_of_contents_below00I"(dup.tap{|x| untaint;T[ I"$(path, action = :write, &block);T@1FI"SharedHelpers;TcRDoc::NormalModule00