All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dotty.tools.scaladoc.util.check.scala Maven / Gradle / Ivy

There is a newer version: 3.6.3-RC1-bin-20241114-6a7d5d3-NIGHTLY
Show newest version
package dotty.tools.scaladoc.util

object Check:
  /**  
   *  Jekyll (also used by GitHub Pages) by default makes a couple characters 
   *  illegal to use in file name beginnings.
   */
  def checkJekyllIncompatPath(path: Seq[String]): Boolean =
    path.find( filename =>
      filename.matches("^~.*")
       || filename.matches("^\\_.*")
       || filename.matches("^\\..*")
       || filename.matches("^\\#.*")
    ).isDefined




© 2015 - 2024 Weber Informatics LLC | Privacy Policy