主权项 |
1. A method, executable by a processor of a data processing system, for managing changes to one or more files, the method comprising:
determining a plurality of sections associated with one or more files that have changed, wherein the one or more files further comprises at least one code file and at least one documentation file; determining metadata regarding a nature of the one or more changes to the plurality of sections, wherein the one or more changes resulted in an updated version of the one or more files; generating, using the metadata, a first weight associated with each of the plurality of sections that have changed; assigning a greater first weight to a particular section of the plurality of sections that have changed based on at least one of: a larger size of a change, a greater complexity of a change, and a more recent change; and generating a set of mapping records comprising a mapping record for each of the plurality of sections that have changed, wherein a first mapping record of the set of mapping records comprises data associated with the first weight, wherein the first mapping record is associated with a particular version of the one or more files and, wherein the first mapping record is linked to each other mapping record in the set of mapping records that is associated with one or more other changed sections via a link, wherein the link is associated with the one or more changes, and wherein the set of mapping records associated with the link comprises the same identifier. |