[Smartweb-File] Improving Directory class introducing isRoot() method

View: New views
1 Messages — Rating Filter:   Alert me  

[Smartweb-File] Improving Directory class introducing isRoot() method

by Pino Contartese :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hy,
I start to use File module and watching Directory class I noted there isn't a signature to retrieve the "root" Directory. I would remind all that a Directory class can contain a Directory parent to go up on its hierarchy, so a Directory is root when its parent is null..

Waiting for reply.