getPath method

String getPath (
  1. String filename
)

Given the full path to a file filename, return the path component

Implementation

String getPath(String filename) => path_lib.dirname(filename);