gitmoji
gitmoji copied to clipboard
🛸 for extracting code to a separate function or new file
Emoji symbol
🛸
Emoji code
:flying_saucer:
Emoji description
Extract code into a separate function or new file.
Describe the use case of your emoji
When restructuring a project, I sometimes break apart a file and extract, for example, a class into its separate file. Alternatively, this could be also used when extracting some logic into its own function to be used in multiple places instead of repeating code.
I see, however, that this is most likely a more specific case of the "Refactor code." (♻️) case.
Is this use case covered by an existing emoji?
Yes ✅
Does this emoji fall into the "how" or the "what" category?
- [X] This proposal do not describe "how" a commit was made, but does in fact describe "what" is the contents of the commit about.
Examples
🛸 Extract authentication into reusable function 🛸 Move some large class into a separate file
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guide.
- [X] Check that there isn't already an issue requesting the emoji.