Visit Mozilla.org

nsIFile:nativeLeafName

From MDC

« XPCOM API Reference

[edit] Summary

This attribute exposes the name of the nsIFile without any directory components. [native character encoding variant]

 [noscript] attribute ACString nativeLeafName;

[edit] Remarks

Changing the leaf name of a nsIFile does not affect the underlying filesystem. It only changes what this nsIFile references.