Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
opt
/
ruby-2.6
/
usr
/
share
/
ri
/
2.6.0
/
system
/
Bundler
/
SharedHelpers
/
//opt/ruby-2.6/usr/share/ri/2.6.0/system/Bundler/SharedHelpers/filesystem_access-i.ri
U:RDoc::AnyMethod[iI"filesystem_access:ETI"-Bundler::SharedHelpers#filesystem_access;TF:publico: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_below000[ I"$(path, action = :write, &block);T@1FI"SharedHelpers;TcRDoc::NormalModule00