repo.or.cz
/
castfs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ChangeLog: I forgot to add the entries for the past few commits
[castfs.git]
/
test
/
copyfile.c
blob
3520d42c14358988c0469fb243f205fef82ab391
1
#include
"castfs.h"
2
#include
"hash.h"
3
4
int
main
(
int
argc
,
char
**
argv
)
5
{
6
if
(
argc
<
3
)
7
return
-
1
;
8
printf
(
"Copying %s to %s
\n
"
,
argv
[
1
],
argv
[
2
]);
9
return
cast_copy_file
(
argv
[
1
],
argv
[
2
]);
10
}