mirror of https://github.com/stella-emu/stella.git
Added debugging output for FSNode.
This commit is contained in:
parent
73282db9fd
commit
9190943534
|
@ -120,6 +120,15 @@ class FilesystemNode
|
|||
return BSPF::compareIgnoreCase(getName(), node.getName()) == 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* By default, the output operator simply outputs the fully-qualified
|
||||
* pathname of the node.
|
||||
*/
|
||||
friend ostream& operator<<(ostream& os, const FilesystemNode& node)
|
||||
{
|
||||
return os << node.getPath();
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates whether the object referred by this path exists in the
|
||||
* filesystem or not.
|
||||
|
|
Loading…
Reference in New Issue