launchpad.net/~rogpeppe/juju-core/500-errgo-fix@v0.0.0-20140213181702-000000002356/worker/uniter/charm/export_test.go (about)

     1  // Copyright 2012, 2013 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package charm
     5  
     6  // exported so we can get the deployer path from tests.
     7  
     8  func (d *Deployer) Path() string {
     9  	return d.path
    10  }
    11  
    12  // exported so we can get the deployer current git repo from tests.
    13  func (d *Deployer) Current() *GitDir {
    14  	return d.current
    15  }