func (ctx *Context) AbsPath(path string) string {
	if normalizedPath, err := utils.NormalizePath(path); err == nil {
		path = normalizedPath
	}
	if filepath.IsAbs(path) {
		return path
	}
	return filepath.Join(ctx.Dir, path)
}
// AbsPath returns an absolute representation of path, with relative paths
// interpreted as relative to ctx.Dir and with "~/" replaced with users
// home dir.
AbsPath returns an absolute representation of path, with relative paths
interpreted as relative to ctx.Dir and with "~/" replaced with users
home dir.
// AbsPath returns an absolute representation of path with relative paths // interpreted as relative to ctx . Dir and with " ~ / " replaced with users // home dir .
func (ctx *Context) AbsPath(path string) string {
	if normalizedPath, err := utils.NormalizePath(path); err == nil {
		path = normalizedPath
	}
	if filepath.IsAbs(path) {
		return path
	}
	return filepath.Join(ctx.Dir, path)
}
func ( ctx * Context ) AbsPath ( path string ) string { if normalizedPath , err := utils . NormalizePath ( path ) ; err == nil { path = normalizedPath } if filepath . IsAbs ( path ) { return path } return filepath . Join ( ctx . Dir , path ) }
AbsPath returns an absolute representation of path, with relative paths
interpreted as relative to ctx.Dir and with "~/" replaced with users
home dir.
AbsPath returns an absolute representation of path with relative paths interpreted as relative to ctx . Dir and with " ~ / " replaced with users home dir .