Documentation
    Preparing search index...
    • Strips out comments from lines, returns the then non-empty lines. It is meant for ignore files like .gitignore but all it does is split a string line by line and strip hash comments off so the name is more generic too

      Parameters

      • content: string

        content of a file like .gitignore

      Returns string[]

      		foo
      		bar
      
      		# comment
      
      
      		zed # comment
      		#
      

      will be parsed as ['foo', 'bar', 'zed'] by this function