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
a5f61384
Commit
a5f61384
authored
Mar 15, 2013
by
Vicent Marti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
odb_pack: Unused functions
parent
f16fb099
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
20 deletions
+0
-20
src/odb_pack.c
+0
-20
No files found.
src/odb_pack.c
View file @
a5f61384
...
...
@@ -132,9 +132,6 @@ struct pack_writepack {
*
***********************************************************/
static
void
pack_window_free_all
(
struct
pack_backend
*
backend
,
struct
git_pack_file
*
p
);
static
int
pack_window_contains
(
git_mwindow
*
win
,
off_t
offset
);
static
int
packfile_sort__cb
(
const
void
*
a_
,
const
void
*
b_
);
static
int
packfile_load__cb
(
void
*
_data
,
git_buf
*
path
);
...
...
@@ -162,23 +159,6 @@ static int pack_entry_find_prefix(
*
***********************************************************/
GIT_INLINE
(
void
)
pack_window_free_all
(
struct
pack_backend
*
backend
,
struct
git_pack_file
*
p
)
{
GIT_UNUSED
(
backend
);
git_mwindow_free_all
(
&
p
->
mwf
);
}
GIT_INLINE
(
int
)
pack_window_contains
(
git_mwindow
*
win
,
off_t
offset
)
{
/* We must promise at least 20 bytes (one hash) after the
* offset is available from this window, otherwise the offset
* is not actually in this window and a different window (which
* has that one hash excess) must be used. This is to support
* the object header and delta base parsing routines below.
*/
return
git_mwindow_contains
(
win
,
offset
+
20
);
}
static
int
packfile_sort__cb
(
const
void
*
a_
,
const
void
*
b_
)
{
const
struct
git_pack_file
*
a
=
a_
;
...
...
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