# File lib/perforce.rb, line 164
  def root
    dir = run(*%w(client -o)).first["Root"]
    if CYGWIN
      Util.unix_path(dir).tap { |unix_dir|
        if dir != unix_dir
          add_unix_root
        end
      }
    else
      dir
    end
  end