gocharm or harm.v5 how to get charm dir?

roger peppe roger.peppe at canonical.com
Tue Jun 2 07:12:05 UTC 2015


The charm directory is held in Context.CharmDir.
See http://godoc.org/github.com/juju/gocharm/hook#Context.

On 1 June 2015 at 19:35, Vasiliy Tolstov <v.tolstov at selfip.ru> wrote:
> Does it possible to determine charm dir using go bindings?
> I need absolute path to charm dir to get files from assets dir in
> various places in my code.
>
> --
> Vasiliy Tolstov,
> e-mail: v.tolstov at selfip.ru
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju



More information about the Juju mailing list