Skip to content

Commit cceb264

Browse files
author
Jan Steinke
committed
fix documentation
1 parent 38fcc5b commit cceb264

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

internal/julia.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ import (
99

1010
var juliaExe = "julia"
1111

12-
// NPM holds the information for all needed NPM packages.
12+
// Julia holds the information for all needed Julia modules.
1313
type Julia struct {
1414
Modules []string
1515
Commander Commander
1616
}
1717

18-
// GetMissingPackages returns a list of packages which are configured but not installed.
18+
// GetMissingPackages returns a list of modules which are configured but not installed.
1919
func (b Julia) GetMissingPackages() ([]string, error) {
2020
missingBottles := []string{}
2121
stdout, err := b.Commander(juliaExe, "-e", "import Pkg;Pkg.status()")
@@ -41,7 +41,7 @@ func (b Julia) GetMissingPackages() ([]string, error) {
4141
return missingBottles, nil
4242
}
4343

44-
// InstallPackages takes a list of packages for installation.
44+
// InstallPackages takes a list of modules for installation.
4545
func (b Julia) InstallPackages(packages []string) error {
4646
if len(packages) == 0 {
4747
logrus.Info("no julia modules to install")
@@ -58,7 +58,7 @@ func (b Julia) InstallPackages(packages []string) error {
5858
return nil
5959
}
6060

61-
// UpdatePackages is currently not implemented.
61+
// UpdatePackages updates all installed Julia modules.
6262
func (b Julia) UpdatePackages() error {
6363
logrus.Info("Upgrading julia modules")
6464
_, err := b.Commander(juliaExe, "-e", "import Pkg;Pkg.update()")

0 commit comments

Comments
 (0)