mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-08-27 22:07:07 +00:00
docs: define independent revision properties
This commit is contained in:
@@ -32,7 +32,7 @@ export type DocumentHistoryRestorationOptions = {
|
||||
};
|
||||
|
||||
/**
|
||||
* Restore historical content as a new child of the current live database winner, then reflect
|
||||
* Restore historical content as a new child of the current database winner, then reflect
|
||||
* that exact new revision to the Vault. The historical revision supplies content, not ancestry.
|
||||
*/
|
||||
export async function restoreDocumentHistoryRevision(
|
||||
|
||||
@@ -175,7 +175,7 @@ describe("restoreDocumentHistoryRevision", () => {
|
||||
expect(getConflictedRevs).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it("reports remaining live conflict leaves after restoration", async () => {
|
||||
it("reports remaining conflict leaves after restoration", async () => {
|
||||
const { core, getConflictedRevs } = createCore({ conflicts: ["3-other"] });
|
||||
|
||||
await expect(restoreDocumentHistoryRevision(core, path, "2-source")).resolves.toEqual({
|
||||
|
||||
Reference in New Issue
Block a user