Method: InVFS.findvfs

Defined in:
lib/invfs.rb

.findvfs(lib, relative) ⇒ Object



47
48
49
50
51
52
53
54
# File 'lib/invfs.rb', line 47

def InVFS.findvfs(lib, relative)
  findpath(lib, relative) do |vfs, sub|
    next unless sub = findlib(vfs, sub, relative)
    return nil if vfs.__native_file_path?
    next if vfs.size(sub) > MAX_LOADSIZE
    return [vfs, sub]
  end
end