Prerequisites
Cake runner
Cake Frosting
Cake version
6.0.0
Operating system
N/A
Operating system architecture
x64
CI Server
No response
What are you seeing?
APIs like IFileSystem, IDirectory and GlobberExtensions have APIs that return either IFile or IDirectory, but, some times, we just want a file system entry and decide what to do with it based in whether it's a file or directory.
What is expected?
context.FileSystem.GetFileSystemInfo(path)
context.Globber.GetFileSystemInfos(pattern)
directory.GetFileSystemInfos()
Steps to Reproduce
Try getting a list of file system infos that contains both files and directories,
Output log
No response