code: def add(self, name, monitor=True):
          
  
          if os.path.isdir(name):
              if (not os.path.basename(name).startswith(".")):
                  self.add_folder(name)
  
          elif os.path.isfile(name):
              if ((self._looks_like_resource_file(name)) or
                  (self._looks_like_libdoc_file(name)) or
                  (self._looks_like_library_file(name))):
                  self.add_file(name)
          else:
              # let's hope it's a library name!
              self.add_library(name)
docs: Add a folder, library (.py) or resource file (.robot, .tsv, .txt) to the database