[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: API for creating file and revision

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 25 Nov 2015 12:53:37 +0000

"Ren Wang" <renwang101_at_gmail.com> writes:

> The API svn_fs_make_file() will create an empty file, and the
> svn_fs_apply_text() will fill the text content to the repository. Is there a
> similar API for setting binary content?
>
>
>
> If the file already created in the repository, what's the API to create a
> revision of it?

The same functions, svn_fs_apply_text() or svn_fs_apply_textdelta(), are
used to modify both new and existing files.

-- 
Philip Martin
WANdisco
Received on 2015-11-25 13:53:47 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.