libgit2/include/git2
Jakob Pfender b74c867a1a blob: Stat path inside git_blob_create_fromfile
00582bc introduced a change that required the caller of
git_blob_create_fromfile() to pass a struct stat with the stat
information for the file. Several developers pointed out that this would
make life hard for the bindings developers as struct stat isn't widely
supported by other languages.

Make git_blob_create_fromfile() stat the path itself, eliminating the
need for the file to be stat'ed by the caller. This makes
index_init_entry() more costly as the file will be stat'ed twice but
makes life easier for everyone else.
2011-06-07 12:54:43 +02:00
..
blob.h blob: Stat path inside git_blob_create_fromfile 2011-06-07 12:54:43 +02:00
commit.h Added methods to search objects of different types 2011-06-06 11:55:48 +02:00
common.h common: Include stat.h in include/git2/common.h instead of src/common.h 2011-06-07 12:54:38 +02:00
config.h config: Cleanup & renaming of the external API 2011-05-20 03:20:12 +03:00
errors.h Added error for ambiguous oid prefixes. Added methods to compare the first nth hexadecimal characters (i.e. packets of 4 bits) of OIDs. 2011-06-01 23:40:41 +02:00
index.h Index: API uniformisation: Use unsigned int for all index number. 2011-06-05 21:19:03 +02:00
object.h short-oid: Cleanup 2011-06-01 23:40:42 +02:00
odb_backend.h short-oid: Cleanup 2011-06-01 23:40:42 +02:00
odb.h short-oid: Cleanup 2011-06-01 23:40:42 +02:00
oid.h Renamed git_oid_match to git_oid_ncmp. 2011-06-06 17:04:37 +02:00
refs.h Enforce coding conventions in refs.c 2011-03-29 19:58:19 +03:00
repository.h repository: Export all internal paths 2011-06-04 20:45:09 +02:00
revwalk.h Fix headers for the new Revision Walker 2011-03-16 23:59:09 +02:00
signature.h Rename git_signature_new_now 2011-04-09 15:31:12 -07:00
tag.h Added methods to search objects of different types 2011-06-06 11:55:48 +02:00
thread-utils.h threads: Cleanup TLS declarations 2011-06-07 03:39:19 +02:00
tree.h Merge pull request #240 from Romain-Geissler/tree-object-type 2011-06-06 18:33:38 -07:00
types.h config: Cleanup & renaming of the external API 2011-05-20 03:20:12 +03:00
zlib.h Move the external includes folder from src to include 2011-03-03 20:23:53 +02:00