Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
b644e223
Commit
b644e223
authored
9 years ago
by
P.S.V.R
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make packfile_unpack_compressed a private API
parent
700f0aff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
9 deletions
+2
-9
src/pack.c
+2
-2
src/pack.h
+0
-7
No files found.
src/pack.c
View file @
b644e223
...
...
@@ -21,7 +21,7 @@ GIT__USE_OIDMAP
static
int
packfile_open
(
struct
git_pack_file
*
p
);
static
git_off_t
nth_packed_object_offset
(
const
struct
git_pack_file
*
p
,
uint32_t
n
);
int
packfile_unpack_compressed
(
static
int
packfile_unpack_compressed
(
git_rawobj
*
obj
,
struct
git_pack_file
*
p
,
git_mwindow
**
w_curs
,
...
...
@@ -843,7 +843,7 @@ void git_packfile_stream_free(git_packfile_stream *obj)
inflateEnd
(
&
obj
->
zstream
);
}
int
packfile_unpack_compressed
(
static
int
packfile_unpack_compressed
(
git_rawobj
*
obj
,
struct
git_pack_file
*
p
,
git_mwindow
**
w_curs
,
...
...
This diff is collapsed.
Click to expand it.
src/pack.h
View file @
b644e223
...
...
@@ -138,13 +138,6 @@ int git_packfile_resolve_header(
git_off_t
offset
);
int
git_packfile_unpack
(
git_rawobj
*
obj
,
struct
git_pack_file
*
p
,
git_off_t
*
obj_offset
);
int
packfile_unpack_compressed
(
git_rawobj
*
obj
,
struct
git_pack_file
*
p
,
git_mwindow
**
w_curs
,
git_off_t
*
curpos
,
size_t
size
,
git_otype
type
);
int
git_packfile_stream_open
(
git_packfile_stream
*
obj
,
struct
git_pack_file
*
p
,
git_off_t
curpos
);
ssize_t
git_packfile_stream_read
(
git_packfile_stream
*
obj
,
void
*
buffer
,
size_t
len
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment