getPath method

String getPath (String filename)

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

Implementation

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