This is an archive of the discontinued Mercurial Phabricator instance.

censor: extract the part about creating and opening new files in a function
ClosedPublic

Authored by marmoute on Jun 22 2021, 7:27 PM.

Details

Summary

The v2_censor function is huge, now that its content has settled a bit it is a
good time to split individual part inside dedicated function.

The last part is the file copying and opening logic. It now have its own
function.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.