Effort free video editing!
import std/[os, strformat]
import ../log
import ../lib/paths
proc absPath*(path: string): AbsPath {.raises: [AutoEditorError].} =
# absolutePath only fails if the cwd is gone or unreadable; nothing
# downstream can recover from that.
try:
AbsPath(path.absolutePath())
except CatchableError:
error &"Cannot resolve path: {path}"