lxd/template/chroot.go
func (l ChrootLoader) Abs(base string, name string) string {
	return filepath.Clean(fmt.Sprintf("%s/%s", l.Path, name))
}
func (l ChrootLoader) Abs(base string, name string) string {
	return filepath.Clean(fmt.Sprintf("%s/%s", l.Path, name))
}
func ( l ChrootLoader ) Abs ( base string , name string ) string { return filepath . Clean ( fmt . Sprintf ( " " , l . Path , name ) ) }
// Abs resolves a filename relative to the base directory. Absolute paths are allowed.
// When there's no base dir set, the absolute path to the filename
// will be calculated based on either the provided base directory (which
// might be a path of a template which includes another template) or
// the current working directory.
Abs resolves a filename relative to the base directory . Absolute paths are allowed . When there s no base dir set the absolute path to the filename will be calculated based on either the provided base directory ( which might be a path of a template which includes another template ) or the current working directory .