U:RDoc::AnyMethod[iI"filesystem_access:EFI"-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::BlankLineo; ; [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;FcRDoc::NormalModule00