Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for regex (0.19 sec)

  1. .cm/includes_todos.cm

    automations:
    
      # If someone adds a TODO, remind them about it by requesting removal
      includes_todos:
        if:
          - {{ ('includes_todos' | isEnabledAutomation(pr)) }}
          - {{ source.diff.files | matchDiffLines(regex=r/(TODO)|(todo)/) | some }}
        run:
          - action: add-label@v1
            args:
              label: "⚠️ Includes TODOs"
              color: {{ colors.yellow }}
          - action: add-comment@v1
            args:
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. .cm/javadoc_on_new_files.cm

        # Triggered for new Java files that lack Javadoc content.
        if:
    
          - {{ ('javadoc_on_new_files' | isEnabledAutomation(pr)) }}
          - {{ is.java and is.new }}
          - {{ source.diff.files | matchDiffLines(regex=r/\/*\*([\s\S]*?)\//) | nope }}
        run:
          - action: add-label@v1
            args:
              label: "⚠️ Missing Javadoc"
              color: {{ colors.yellow }}
          - action: add-comment@v1
            args:
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

            && !matches(compilerGeneratedClassFilePath)
    
    
    private
    const val classFileExtension = ".class"
    
    
    private
    val compilerGeneratedClassFilePath = Regex(".*\\$\\d+\\.class$")
    
    
    private
    val slashOrDollar = Regex("[/$]")
    
    
    // visible for testing
    fun kotlinSourceNameOf(classFilePath: String): String =
        classFilePath
            .removeSuffix(classFileExtension)
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  4. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

        private
        inline fun tryResolve(resolver: () -> String, or: () -> String) = try {
            resolver()
        } catch (e: Throwable) {
            or()
        }
    }
    
    
    private
    val NEWLINE_REGEX = "\\n\\s*".toRegex()
    
    
    private
    class KotlinVersionsToIncubatingCollector : VersionsToIncubatingCollector {
    
        override fun collectFrom(sourceFile: File): VersionsToIncubating {
    
    HTML
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sun Jun 25 02:53:14 GMT 2023
    - 12.7K bytes
    - Viewed (0)
Back to top