Expand description
Utility functions for commands.
Functions§
- create_
pkg_ dir - Construct our
pkgdirectory in the crate. - elapsed
- Render a
Durationto a form suitable for display on a console - find_
pkg_ directory - Locates the pkg directory from a specific path Returns None if unable to find the ‘pkg’ directory
- get_
crate_ path - If an explicit path is given, then use it, otherwise assume the current directory is the crate path.