Skip to content

Commit

Permalink
cue/load: actually apply the latest doc wording per the reviews
Browse files Browse the repository at this point in the history
Due to a Gerrit sna-fu, we approved and merged the CL with a previous
doc wording rather than the final one we agreed on.

Fixes #1734, again.

Signed-off-by: Daniel Martí <[email protected]>
Change-Id: Ibf012ca6519edee599a52316b1b5be1cea8e2166
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/540757
Unity-Result: CUEcueckoo <[email protected]>
Reviewed-by: Paul Jolly <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
  • Loading branch information
mvdan committed Jul 1, 2022
1 parent 03ed417 commit f32ea8e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cue/load/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,10 @@ type Config struct {
// in the _ package.
Package string

// Dir is the directory from which to load packages.
// If Dir is empty, the tool is run in the current directory.
// Dir is the base directory for import path resolution.
// For example, it is used to determine the main module,
// and rooted import paths starting with "./" are relative to it.
// If Dir is empty, the current directory is used.
Dir string

// Tags defines boolean tags or key-value pairs to select files to build
Expand Down

0 comments on commit f32ea8e

Please sign in to comment.