Skip to content

Navigation Menu

Sign in
Sign up

Why does File contain contentEnc? #933

lquenti started this conversation in General
Discussion options

Hi, I just played around a bit with the code, and noticed that File has a contentEnc reference. This confuses me a bit, because I would expect that f.contentEnc == f.rootNode.contentEnc.

I initially wanted to do a PR about it, but then I thought that it is more likely that I am the dumbass that doesn't understand the code.

Is it redundant or am I stupid? If its redundant, I am happy to do a PR removing it and refactoring all its references!

You must be logged in to vote

Replies: 1 comment

Comment options

Looks redundant. PR welcome!

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /