I think this is a textbook case of confusion between link-only answer and NAA, along with a technically correct (the best kind of correct) decline reason, more than anything.
As you stated, you flagged a link-only answer as NAA. So it follows that there is no evidence that this is NAA because it's quite clearly an attempt to answer the question. With links. Granted the decline reason that was chosen wasn't particularly helpful (like I said, it's only technically correct), but had I been the one reviewing your flag I wouldn't have been inclined to act on it either.
AndMostly because it wasn't always link-only. In its original state, the answer consisted not of two links, but two very brief code samples, the latter of which was updated some time later by another user. Presumably this is why it has so many upvotes today — it was useful, and very much so. Later the author decided to move the content to GitHub due to updates, leaving nothing more than a stub as an answer intended to point to an external source that is more likely to be kept up to date than one or more answers scattered around the site.
But that doesn't change the fact that the answer is already upvoted, and accepted, but most importantly — an attempt at answering the question. My advice to you? Rather than quibble about it being link-only now, I suggest helping restore the answer to its former glory, and then some. Improve the answer by editing it (since the author probably doesn't have time to do so). That is something you should not need to involve a moderator in.
Of course, you don't have to. The onus doesn't fall on anybody to improve an answer. If you're not inclined to spend the time editing an answer (I do understand how time-consuming substantial edits can be), you're free to leave it alone. But given the status of this answer, and the context behind it, I'd say flagging this sort of answer is counterproductive at best.