# File lib/fuse/fusedir.rb, line 145 def split_path(path) cur, *rest = path.scan(/[^\/]+/) if rest.empty? [ cur, nil ] else [ cur, File::SEPARATOR + File.join(rest) ] end end