Arguments
- path
character.
File path(s).
This function is vectorized and supports multiple files.
Value
integer.
Unnamed vector denoting file path depth.
Note that "/" will return 0 here (zero indexed).
Details
This function intentionally doesn't check whether a file exists.