mirror of
https://github.com/restic/rest-server.git
synced 2025-12-06 17:15:45 -08:00
2
build.go
2
build.go
@@ -49,7 +49,7 @@ func specialDir(name string) bool {
|
||||
// excludePath returns true if the file should not be copied to the new GOPATH.
|
||||
func excludePath(name string) bool {
|
||||
ext := path.Ext(name)
|
||||
if ext == ".go" || ext == ".s" {
|
||||
if ext == ".go" || ext == ".s" || ext == ".h" {
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user