mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
The delta file is a custom format created from the xar container format. It describes the necessary modifications to transform the contents of the old directory in to the contents of the new. Binary diffs are used to compress the differences between large files such as Mach-O binaries. The binary diffs are generated by bsdiff and applied via bspatch, both from bsdiff 4.3, the source of which is included and used under a BSD-style license.
16 lines
306 B
Objective-C
16 lines
306 B
Objective-C
//
|
|
// SUBinaryDeltaApply.h
|
|
// Sparkle
|
|
//
|
|
// Created by Mark Rowe on 2009-06-01.
|
|
// Copyright 2009 Mark Rowe. All rights reserved.
|
|
//
|
|
|
|
#ifndef SUBINARYDELTAAPPLY_H
|
|
#define SUBINARYDELTAAPPLY_H
|
|
|
|
@class NSString;
|
|
int applyBinaryDelta(NSString *source, NSString *destination, NSString *patchFile);
|
|
|
|
#endif
|