@@ -28,8 +28,8 @@ import (
28
28
"github.com/pkg/errors"
29
29
)
30
30
31
- // BuildOptions fixdoc
32
- type BuildOptions struct {
31
+ // buildOptions fixdoc
32
+ type buildOptions struct {
33
33
currentOptions * properties.Map
34
34
35
35
hardwareDirs paths.PathList
@@ -45,8 +45,8 @@ type BuildOptions struct {
45
45
clean bool
46
46
}
47
47
48
- // NewBuildOptionsManager fixdoc
49
- func NewBuildOptionsManager (
48
+ // newBuildOptions fixdoc
49
+ func newBuildOptions (
50
50
hardwareDirs , builtInToolsDirs , otherLibrariesDirs paths.PathList ,
51
51
builtInLibrariesDirs , buildPath * paths.Path ,
52
52
sketch * sketch.Sketch ,
@@ -55,7 +55,7 @@ func NewBuildOptionsManager(
55
55
clean bool ,
56
56
compilerOptimizationFlags string ,
57
57
runtimePlatformPath , buildCorePath * paths.Path ,
58
- ) * BuildOptions {
58
+ ) * buildOptions {
59
59
opts := properties .NewMap ()
60
60
61
61
opts .Set ("hardwareFolders" , strings .Join (hardwareDirs .AsStrings (), "," ))
@@ -81,7 +81,7 @@ func NewBuildOptionsManager(
81
81
}
82
82
opts .Set ("additionalFiles" , strings .Join (additionalFilesRelative , "," ))
83
83
84
- return & BuildOptions {
84
+ return & buildOptions {
85
85
currentOptions : opts ,
86
86
hardwareDirs : hardwareDirs ,
87
87
builtInToolsDirs : builtInToolsDirs ,
0 commit comments