mirror of
https://github.com/ossrs/srs.git
synced 2025-11-24 11:54:21 +08:00
AI: Fix naming issue for protocol module. v7.0.83 (#4482)
Co-authored-by: OSSRS-AI <winlinam@gmail.com>
This commit is contained in:
@@ -185,7 +185,7 @@ code_patterns:
|
||||
public:
|
||||
srs_error_t initialize();
|
||||
};
|
||||
scope: "Applies ONLY to fields (member variables) in classes and structs - NOT to functions, methods, or parameters"
|
||||
scope: "Applies ONLY to fields (member variables) in classes and structs - NOT to functions, methods, comments, error messages, or parameters"
|
||||
exceptions: "Only applies to SRS-defined classes/structs - do NOT change 3rd party code like llhttp"
|
||||
rationale: "Consistent naming convention across SRS codebase for better code readability and maintenance - underscore distinguishes member variables from local variables and parameters"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user