Visit Mozilla.org

nsIFile:equals

From MDC

« XPCOM API Reference

[edit] Summary

This method tests whether or not two nsIFile instances correspond to the same file or directory.

 boolean equals(
   in nsIFile aFile
 );

[edit] Parameters

aFile
[in] The nsIFile to compare this nsIFile against.

[edit] Return Values

This method returns true if aFile is equivalent to this nsIFile.

See Also nsIFile