Skip to content

Commit

Permalink
update: Added description of Solve method
Browse files Browse the repository at this point in the history
  • Loading branch information
0x-shanks committed Feb 1, 2021
1 parent 87b7cf1 commit e17e52f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/imput/solve.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"path/filepath"
)

// Solve resolves the path of the root directory to be searched from the input source and currentDir
func Solve(source string, currentDir string) (graphDir string) {
if source != "" && !filepath.IsAbs(source) {
graphDir = path.Join(currentDir, source)
Expand Down

0 comments on commit e17e52f

Please sign in to comment.