/usr/share/gocode/src/github.com/hashicorp/go-getter/helper/url/url_unix.go is in golang-github-hashicorp-go-getter-dev 0.0~git20160316.0.575ec4e-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | // +build !windows
package url
import (
"net/url"
)
func parse(rawURL string) (*url.URL, error) {
return url.Parse(rawURL)
}
|