code: func (r *repository) Absolute(path string, isdir bool) Match {
  	// does the file share the same directory as this ignore file?
  	if !strings.HasPrefix(path, r.Base()) {
  		return nil
  	}
  
  	// extract the relative path of this file
  	_prefix := len(r.Base()) + 1
  	_rel := string(path[_prefix:])
  	return r.Relative(_rel, isdir)
  }
docs: // Absolute attempts to match an absolute path against this repository. If the
  // path is not located under the base directory of this repository, or is not
  // matched by this repository, nil is returned.