def create filename, text
      result = false
      mutex.synchronize do
        next unless contain?(filename) || open?(filename) || workspace.would_merge?(filename)
        @synchronized = false
        source = Solargraph::Source.load_string(text, filename)
        workspace.merge(source)
        result = true
      end
      result
    end
def create filename, text
      result = false
      mutex.synchronize do
        next unless contain?(filename) || open?(filename) || workspace.would_merge?(filename)
        @synchronized = false
        source = Solargraph::Source.load_string(text, filename)
        workspace.merge(source)
        result = true
      end
      result
    end
Create a source to be added to the workspace. The file is ignored if it is
 neither open in the library nor included in the workspace.

 @param filename [String]
 @param text [String] The contents of the file
 @return [Boolean] True if the file was added to the workspace.