FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
repremove.c
Go to the documentation of this file.
1
/****************************************************************
2
repremove: Delete a repository entry.
3
4
Copyright (C) 2007-2011 Hewlett-Packard Development Company, L.P.
5
6
This library is free software; you can redistribute it and/or
7
modify it under the terms of the GNU Lesser General Public
8
License version 2.1 as published by the Free Software Foundation.
9
10
This library is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
Lesser General Public License for more details.
14
15
You should have received a copy of the GNU Lesser General Public License
16
along with this library; if not, write to the Free Software Foundation, Inc.0
17
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
****************************************************************/
25
#include <stdlib.h>
26
#include <stdio.h>
27
#include "libfossrepo.h"
28
29
#ifdef COMMIT_HASH
30
char
BuildVersion
[]=
"Build version: "
COMMIT_HASH
".\n"
;
31
#endif
32
33
int
main(
int
argc,
char
* argv[])
34
{
35
if
(argc != 3)
36
{
37
fprintf(stderr,
"Usage: %s type filename\n"
, argv[0]);
38
exit(-1);
39
}
40
41
return
(
fo_RepRemove
(argv[1], argv[2]));
42
}
/* main() */
43
BuildVersion
char BuildVersion[]
Definition:
buckets.c:79
fo_RepRemove
int fo_RepRemove(char *Type, char *Filename)
Delete a repository file.
Definition:
libfossrepo.c:580
src
lib
c
repremove.c
Generated on Mon Jun 29 2020 12:03:42 for FOSSology by
1.8.11