list Directory
suspend fun listDirectory(path: String = "", pattern: String = "*", bufferSize: Int = client.config.queryDirectoryBufferSize): List<SmbDirectoryEntry>
Lists files and subdirectories within the specified directory.
Parameters
path
Path relative to the share root (use "" or "/" for the root directory).
pattern
Search wildcard pattern (defaults to "*").
buffer Size
Maximum output buffer size in bytes requested per SMB2 QUERY_DIRECTORY call.