computeFileName
computeFileName(path) ⇒ string
Get name of a file from a given path
Kind: global function
| Param | Type |
|---|---|
| path | string |
Example
'a/b/c.txt' -> 'c'
'hello.txt' -> 'hello'
'http://meep.com/index.html' -> 'index'
stringGet name of a file from a given path
Kind: global function
| Param | Type |
|---|---|
| path | string |
Example
'a/b/c.txt' -> 'c'
'hello.txt' -> 'hello'
'http://meep.com/index.html' -> 'index'