845. (a) The owner of any easement in the nature of a private right-of-way, or of any land to which any such easement is attached, shall maintain it in repair.
(b) If the easement is owned by more than one person, or is attached to parcels of land under different ownership, the cost of maintaining it in repair shall be shared by each owner of the easement or the owners of the parcels of land, as the case may be, pursuant to the terms of any agreement entered into by the parties for that purpose. In the absence of an agreement, the cost shall be shared proportionately to the use made of the easement by each owner.