Namespace: file

me.utils. file

a collection of file utility functions
Source:
file.js, line 9

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
Source:
file.js, line 22
Returns:
the base name without path information.
Type
String

<static> getExtension(path) → {String}

return the extension of the file in the given path
Parameters:
Name Type Description
path String path containing the filename
Source:
file.js, line 35
Returns:
filename extension.
Type
String