コード例 #1
0
        internal static Fsentry AsLeavingDir(Fsentry enteringDir)
        {
            // assert: enteringDir.Event == FsentryEvent.EnterDir

            return(new()
            {
                Event = FsentryEvent.LeaveDir,
                FullPathString = enteringDir.FullPathString,
                RelativePath = enteringDir.RelativePath,
            });
        }
コード例 #2
0
 internal void PushLeavingDir(Fsentry dirEntry)
 {
     mStack.Push(Fsentry.AsLeavingDir(dirEntry));
 }
コード例 #3
0
 internal bool TryPop(out Fsentry rv)
 {
     return(mStack.TryPop(out rv));
 }