internal static Fsentry AsLeavingDir(Fsentry enteringDir) { // assert: enteringDir.Event == FsentryEvent.EnterDir return(new() { Event = FsentryEvent.LeaveDir, FullPathString = enteringDir.FullPathString, RelativePath = enteringDir.RelativePath, }); }
internal void PushLeavingDir(Fsentry dirEntry) { mStack.Push(Fsentry.AsLeavingDir(dirEntry)); }
internal bool TryPop(out Fsentry rv) { return(mStack.TryPop(out rv)); }