Share via


MockAdlsClient.EnumerateDirectory Method

Definition

Returns a list of entries contained under the given directory

public override System.Collections.Generic.IEnumerable<Microsoft.Azure.DataLake.Store.DirectoryEntry> EnumerateDirectory (string path, Microsoft.Azure.DataLake.Store.UserGroupRepresentation userIdFormat = Microsoft.Azure.DataLake.Store.UserGroupRepresentation.ObjectID, System.Threading.CancellationToken cancelToken = default);
override this.EnumerateDirectory : string * Microsoft.Azure.DataLake.Store.UserGroupRepresentation * System.Threading.CancellationToken -> seq<Microsoft.Azure.DataLake.Store.DirectoryEntry>
Public Overrides Function EnumerateDirectory (path As String, Optional userIdFormat As UserGroupRepresentation = Microsoft.Azure.DataLake.Store.UserGroupRepresentation.ObjectID, Optional cancelToken As CancellationToken = Nothing) As IEnumerable(Of DirectoryEntry)

Parameters

path
String

Path of directory or file

userIdFormat
UserGroupRepresentation

User or group Id format

cancelToken
CancellationToken

Cancellation token

Returns

Applies to