Axiom.FileSystem.FileSystemArchive.popDirectory C# (CSharp) Method

popDirectory() private method

Utility method to pop a previous directory off the stack and change to it
private popDirectory ( ) : void
return void
		void popDirectory()
		{
			if ( _directoryStack.Count == 0 )
			{
#if !( XBOX || XBOX360 )
				throw new AxiomException( "No directories left in the stack." );
#else
				return;
#endif
			}
			string cwd = _directoryStack.Pop();
			changeDirectory( cwd );
		}