MCPcopy
hub / github.com/beetbox/beets / should_write

Function should_write

beets/ui/__init__.py:150–154  ·  view source on GitHub ↗

Decide whether a command that updates metadata should also write tags, using the importer configuration as the default.

(write_opt=None)

Source from the content-addressed store, hash-verified

148
149
150def should_write(write_opt=None):
151 """Decide whether a command that updates metadata should also write
152 tags, using the importer configuration as the default.
153 """
154 return _bool_fallback(write_opt, config["import"]["write"].get(bool))
155
156
157def should_move(move_opt=None):

Callers 1

commandMethod · 0.90

Calls 2

_bool_fallbackFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected