MCPcopy Index your code
hub / github.com/FSoft-AI4Code/CodeWiki / is_empty

Method is_empty

codewiki/cli/models/config.py:70–78  ·  view source on GitHub ↗

Check if all fields are empty/None.

(self)

Source from the content-addressed store, hash-verified

68 )
69
70 def is_empty(self) -> bool:
71 """Check if all fields are empty/None."""
72 return not any([
73 self.include_patterns,
74 self.exclude_patterns,
75 self.focus_modules,
76 self.doc_type,
77 self.custom_instructions,
78 ])
79
80 def get_prompt_addition(self) -> str:
81 """Generate prompt additions based on instructions."""

Callers 5

generate_commandFunction · 0.95
config_showFunction · 0.80
config_agentFunction · 0.80
to_dictMethod · 0.80
to_backend_configMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected