# File lib/asciidoctor/path_resolver.rb, line 144 def is_root? path (path.start_with? SLASH) || (::JAVASCRIPT_IO_MODULE == 'xmlhttprequest' && (path.start_with? 'file://')) || (@file_separator == BACKSLASH && (WindowsRootRx.match? path)) end