mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
17 lines
240 B
Go
17 lines
240 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
//go:build windows
|
|
// +build windows
|
|
|
|
package helper
|
|
|
|
import (
|
|
"os"
|
|
"strings"
|
|
)
|
|
|
|
func IsExecutable(i os.FileInfo) bool {
|
|
return strings.HasSuffix(i.Name(), ".exe")
|
|
}
|