func IsCharmDir(path string) bool {
	dir := &CharmDir{Path: path}
	_, err := os.Stat(dir.join("metadata.yaml"))
	return err == nil
}
// IsCharmDir report whether the path is likely to represent
// a charm, even it may be incomplete.
IsCharmDir report whether the path is likely to represent
a charm, even it may be incomplete.
// IsCharmDir report whether the path is likely to represent // a charm even it may be incomplete .
func IsCharmDir(path string) bool {
	dir := &CharmDir{Path: path}
	_, err := os.Stat(dir.join("metadata.yaml"))
	return err == nil
}
func IsCharmDir ( path string ) bool { dir := & CharmDir { Path : path } _ , err := os . Stat ( dir . join ( " " ) ) return err == nil }
IsCharmDir report whether the path is likely to represent
a charm, even it may be incomplete.
IsCharmDir report whether the path is likely to represent a charm even it may be incomplete .