func path/filepath.Base

22 uses

	path/filepath (current package)
		path.go#L549: func Base(path string) string {

	github.com/go-pg/migrations/v8
		collection.go#L716: 	base := filepath.Base(name)

	golang.org/x/sys/execabs
		execabs.go#L59: 	if filepath.Base(file) == file && !filepath.IsAbs(path) {
		execabs.go#L66: 	if filepath.Base(name) == name && !filepath.IsAbs(cmd.Path) {

	golang.org/x/tools/go/packages
		golist.go#L333: 				if filepath.Base(query) == filepath.Base(pkgFile) {
		golist.go#L371: 				filename := filepath.Join(pattern, filepath.Base(query)) // avoid recomputing abspath
		golist_overlay.go#L70: 		base := filepath.Base(opath)
		golist_overlay.go#L119: 				if filepath.Base(f) == base {
		packages.go#L1195: 	if strings.EqualFold(filepath.Base(x), filepath.Base(y)) { // (optimisation)

	html/template
		template.go#L525: 	name = filepath.Base(file)

	internal/buildcfg
		cfg.go#L44: 		fmt.Fprintf(os.Stderr, "%s: %v\n", filepath.Base(os.Args[0]), Error)

	internal/execabs
		execabs.go#L39: 	if filepath.Base(file) == file && !filepath.IsAbs(path) {
		execabs.go#L46: 	if filepath.Base(name) == name && !filepath.IsAbs(cmd.Path) {

	mime/multipart
		multipart.go#L84: 	return filepath.Base(filename)

	os/exec
		exec.go#L174: 	if filepath.Base(name) == name {
		exec.go#L348: 	if filepath.Base(path) == path {

	testing
		fuzz.go#L287: 			testName = fmt.Sprintf("%s/%s", testName, filepath.Base(e.Path))
		fuzz.go#L368: 				testName := filepath.Base(crashPath)
		fuzz.go#L399: 			name := fmt.Sprintf("%s/%s", f.name, filepath.Base(e.Path))

	text/template
		helper.go#L166: 	name = filepath.Base(file)