enumerate_children(path, flags=nil)
click to toggle source
def enumerate_children(path, flags=nil)
flags ||= ResourceLookupFlags::NONE
enumerate_children_raw(path, flags)
end
enumerate_children_raw(path, flags=nil)
get_info(path, flags=nil)
click to toggle source
def get_info(path, flags=nil)
flags ||= ResourceLookupFlags::NONE
get_info_raw(path, flags)
end
get_info_raw(path, flags=nil)
lookup_data(path, flags=nil)
click to toggle source
def lookup_data(path, flags=nil)
flags ||= ResourceLookupFlags::NONE
lookup_data_raw(path, flags)
end
lookup_data_raw(path, flags=nil)
open_stream(path, flags=nil) { |input_stream| ... }
click to toggle source
def open_stream(path, flags=nil)
flags ||= ResourceLookupFlags::NONE
input_stream = open_stream_raw(path, flags)
if block_given?
begin
yield(input_stream)
ensure
input_stream.close
end
else
input_stream
end
end
open_stream_raw(path, flags=nil)
register(resource)
click to toggle source
def register(resource)
resource._register
end
unregister(resource)
click to toggle source
def unregister(resource)
resource._unregister
end