# File lib/fakefs/pathname.rb, line 1013
      def unlink
        if File.directory? @path
          Dir.unlink @path
        else
          File.unlink @path
        end
      end