PowerShell/PowerShellStandard

Should the v3 library provide the depth override for GetChildItems?

Jaykul opened this issue · 0 comments

Sorry, this is just a question, because I'm actually not sure:

If the PowerShell 3 version of the reference library defines this PS5 method overload:

public abstract class ContainerCmdletProvider : System.Management.Automation.Provider.ItemCmdletProvider {
...
    protected virtual void GetChildItems ( string path, bool recurse, uint depth ) { }
...
}

It would allow providers to implement the -Depth parameter ...

But would it actually break anything when running on PowerShell 3 or 4?