mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-28 04:46:42 -04:00
9 lines
240 B
Go
9 lines
240 B
Go
package global
|
|
|
|
import "strings"
|
|
|
|
// GetRealAgePath returns the full path to an age file (given the vanity path)
|
|
func GetRealAgePath(vanityPath string) string {
|
|
return AgeDir + PathSeparator + strings.ReplaceAll(vanityPath, "/", FSPath)
|
|
}
|