<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def browse(self, path=None):
 """ Returns a list of directories matching the path given. Args: path (str):
 glob pattern. Returns: List[str] """

        params = None
        if path:
            assert isinstance(path, string_types)
            params = {'current': path}
        return self.get('browse', params=params)