me.utils.file

a collection of file utility functions

Methods

static getBasename(path) → {String}

return the base name of the file without path info

Parameters:
Name Type Description
path String

path containing the filename

Returns:
String -

the base name without path information.

static getExtension(path) → {String}

return the extension of the file in the given path

Parameters:
Name Type Description
path String

path containing the filename

Returns:
String -

filename extension.