Delta Between Two Patch Sets: export_test.go
Issue 6853075 :
golxc: added configuration reading (Closed)
Left Patch Set: golxc: added configuration reading
Right Patch Set: golxc: added configuration reading
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
[revision details]
config.go
export_test.go
golxc_test.go
LEFT RIGHT
1 package golxc 1 package golxc
2 2
3 // ContainerHome returns the name of the container directory. 3 // ContainerHome returns the name of the container directory.
4 func ContainerHome(c *Container) string { 4 func ContainerHome(c *Container) string {
5 return c.containerHome() 5 return c.containerHome()
6 } 6 }
7 7
8 // SetLXCDefaultFile allows the manipulation of the LXC 8 // SetConfPath allows the manipulation of the LXC
9 // default environment file. 9 // default configuration file.
10 func SetLXCDefaultFile(f string) string { 10 func SetConfPath(cp string) string {
11 » orig := lxcDefaultFile 11 » orig := confPath
12 » lxcDefaultFile = f 12 » confPath = cp
13 return orig 13 return orig
14 } 14 }
LEFT RIGHT