speedbar-line-directory

speedbar-line-directory is a compiled Lisp function in `speedbar.el'.

(speedbar-line-directory &optional DEPTH)

Retrieve the directory name associated with the current line.
This may require traversing backwards from DEPTH and combining the default
directory with these items. This function is replaceable in
`speedbar-mode-functions-list' as `speedbar-line-directory'.