code: func supportsLockingAPI(rawurl string) bool {
  	u, err := url.Parse(rawurl)
  	if err != nil {
  		tracerx.Printf("commands: unable to parse %q to determine locking support: %v", rawurl, err)
  		return false
  	}
  
  	for _, supported := range hostsWithKnownLockingSupport {
  		if supported.Scheme == u.Scheme &&
  			supported.Hostname() == u.Hostname() &&
  			strings.HasPrefix(u.Path, supported.Path) {
  			return true
  		}
  	}
  	return false
  }
docs: // supportsLockingAPI returns whether or not a given url is known to support
  // the LFS locking API by whether or not its hostname is included in the list
  // above.