Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sourceFile (0.69 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt

            member.jApiClass.let { declaringClass ->
                sources.sourceFileAndSourceRootFor(declaringClass.sourceFilePath).let { (sourceFile, sourceRoot) ->
                    if (declaringClass.isKotlin) ApiSourceFile.Kotlin(sourceFile, sourceRoot)
                    else ApiSourceFile.Java(sourceFile, sourceRoot)
                }
            }
    
        private
        val JApiClass.sourceFilePath: String
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 24 14:15:15 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. fastapi/routing.py

        if func_id in _endpoint_context_cache:
            return _endpoint_context_cache[func_id]
    
        try:
            ctx: EndpointContext = {}
    
            if (source_file := inspect.getsourcefile(func)) is not None:
                ctx["file"] = source_file
            if (line_number := inspect.getsourcelines(func)[1]) is not None:
                ctx["line"] = line_number
            if (func_name := getattr(func, "__name__", None)) is not None:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
Back to top