enum DirectoryEntryThe kind and path of an entry returned by directory traversal.Casescase directory(Directory)A child directory that can itself be enumerated.case file(FsFile)A regular file.case symlink(Path)A symbolic link; the path names the link rather than its target.