Module packler::common

source ·
Expand description

Common functionality and types. Borrowed from Trunk!

Functions

  • Check whether a given path exists, is a file and marked as executable.
  • Checks if path exists.
  • Run a global command with the given arguments and make sure it completes successfully. If it fails an error is returned.
  • Strip the CWD prefix from the given path.