FOSSology
4.4.0
Open Source License Compliance by Open Source Software
repremove.c
Go to the documentation of this file.
1
/*
2
repremove: Delete a repository entry.
3
SPDX-FileCopyrightText: © 2007-2011 Hewlett-Packard Development Company, L.P.
4
5
SPDX-License-Identifier: LGPL-2.1-only
6
*/
13
#include <stdlib.h>
14
#include <stdio.h>
15
#include "libfossrepo.h"
16
17
#ifdef COMMIT_HASH
18
char
BuildVersion
[]=
"Build version: "
COMMIT_HASH
".\n"
;
19
#endif
20
21
int
main(
int
argc,
char
* argv[])
22
{
23
if
(argc != 3)
24
{
25
fprintf(stderr,
"Usage: %s type filename\n"
, argv[0]);
26
exit(-1);
27
}
28
29
return
(
fo_RepRemove
(argv[1], argv[2]));
30
}
/* main() */
31
BuildVersion
char BuildVersion[]
Definition:
buckets.c:68
fo_RepRemove
int fo_RepRemove(char *Type, char *Filename)
Delete a repository file.
Definition:
libfossrepo.c:568
src
lib
c
repremove.c
Generated on Mon Nov 18 2024 07:37:13 for FOSSology by
1.9.1