code: def get_directory(self):
          
          directory = self.directory if self.directory else os.getcwd()
          drive, folders = get_path_components(directory)
          return reconstitute_path(drive, folders)
docs: Returns the directory in which the :class:`FileSet` will be run.
  
          If the directory was set with None in the constructor, get_directory()
          will return the current working directory.
  
          The returned result is normalized so it never contains a trailing
          path separator