Logo Search packages:      
Sourcecode: umit version File versions  Download package

def umitCore::Paths::Paths::root_dir (   self  ) 

Retrieves root dir on current filesystem

Definition at line 181 of file Paths.py.

00181                       :
        """Retrieves root dir on current filesystem"""
        curr_dir = getcwd()
        while True:
            splited = split(curr_dir)[0]
            if curr_dir == splited:
            curr_dir = splited

        log.debug(">>> Root dir: %s" % curr_dir)
        return curr_dir

Generated by  Doxygen 1.6.0   Back to index