§ 8101. Costs in an action. The party in whose favor a judgment is\nentered is entitled to costs in the action, unless otherwise provided by\nstatute or unless the court determines that to so allow costs would not\nbe equitable, under all of the circumstances.\n