# File lib/fakefs/file.rb, line 348 def ftype return 'link' if symlink? return 'directory' if directory? 'file' end