Skip to content

Commit

Permalink
util.py refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Obijuan committed Mar 15, 2024
1 parent a99372d commit da70f0e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion apio/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,12 @@ def get_package_dir(pkg_name: str) -> Path:
Packages are installed in the following folder:
* Default: $APIO_HOME_DIR/packages
* $APIO_PKG_DIR/packages: if the APIO_PKG_DIR env variable is set
* Return a String
* INPUT:
- pkg_name: Package name (Ex. 'examples')
* OUTPUT:
- The package folder (PosixPath)
(Ex. '/home/obijuan/.apio/packages/examples'))
- or None if the packageis not installed
"""

# -- Get the apio home dir:
Expand Down

0 comments on commit da70f0e

Please sign in to comment.