Preparing search index...
The search index is not available
@nextcloud/paths
@nextcloud/paths
dirname
Function dirname
dirname
(
path
)
:
string
Returns the dir name of the given path. For example for "/abc/somefile.txt" it will return "/abc"
Parameters
path
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@nextcloud/paths
Loading...
Returns the dir name of the given path. For example for "/abc/somefile.txt" it will return "/abc"