2015-06-01 21:54 GMT+03:00 Nate Finch <[email protected]>: > Hooks and actions all fire with the root of the charmdir as the current > directory, so in general, you don't need to get it, you're already there. > > For example, if your charm has <charmdir>/assets/foo.jpg ... you can just > do > > f, err := os.Open("assets/foo.jpg") > > and it'll work correctly.
I know that, thanks. -- Vasiliy Tolstov, e-mail: [email protected] -- Juju mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
