func (a *CharmArchive) ArchiveMembers() (set.Strings, error) {
	zipr, err := a.zopen.openZip()
	if err != nil {
		return set.NewStrings(), err
	}
	defer zipr.Close()
	paths, err := ziputil.Find(zipr.Reader, "*")
	if err != nil {
		return set.NewStrings(), err
	}
	manifest := set.NewStrings(paths...)
	// We always write out a revision file, even if there isn't one in the
	// archive; and we always strip ".", because that's sometimes not present.
	manifest.Add("revision")
	manifest.Remove(".")
	return manifest, nil
}
// ArchiveMembers returns a set of the charm's contents.
ArchiveMembers returns a set of the charm's contents.
// ArchiveMembers returns a set of the charm ' s contents .
func (a *CharmArchive) ArchiveMembers() (set.Strings, error) {
	zipr, err := a.zopen.openZip()
	if err != nil {
		return set.NewStrings(), err
	}
	defer zipr.Close()
	paths, err := ziputil.Find(zipr.Reader, "*")
	if err != nil {
		return set.NewStrings(), err
	}
	manifest := set.NewStrings(paths...)
	manifest.Add("revision")
	manifest.Remove(".")
	return manifest, nil
}
func ( a * CharmArchive ) ArchiveMembers ( ) ( set . Strings , error ) { zipr , err := a . zopen . openZip ( ) if err != nil { return set . NewStrings ( ) , err } defer zipr . Close ( ) paths , err := ziputil . Find ( zipr . Reader , " " ) if err != nil { return set . NewStrings ( ) , err } manifest := set . NewStrings ( paths ... ) manifest . Add ( " " ) manifest . Remove ( " " ) return manifest , nil }
ArchiveMembers returns a set of the charm's contents.
ArchiveMembers returns a set of the charm ' s contents .
// We always write out a revision file, even if there isn't one in the // archive; and we always strip ".", because that's sometimes not present.