MCPcopy Create free account
hub / github.com/apache/fory / csharp_module_owner_stem

Function csharp_module_owner_stem

compiler/fory_compiler/generators/csharp.py:143–148  ·  view source on GitHub ↗
(schema: Schema)

Source from the content-addressed store, hash-verified

141
142
143def csharp_module_owner_stem(schema: Schema) -> str:
144 if schema.source_file and not schema.source_file.startswith("<"):
145 return Path(schema.source_file).stem
146 if schema.package:
147 return schema.package.replace(".", "_")
148 return "generated"
149
150
151def csharp_schema_owner_name(schema: Schema) -> str:

Callers 1

csharp_schema_owner_nameFunction · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected