Ice 3.7 Slice API Reference
FileInfo.ice
Go to the documentation of this file.
1 //
2 // Copyright (c) ZeroC, Inc. All rights reserved.
3 //
4 
5 #pragma once
6 
7 [["cpp:dll-export:ICEPATCH2_API"]]
8 [["cpp:doxygen:include:IcePatch2/IcePatch2.h"]]
9 [["cpp:header-ext:h"]]
10 [["cpp:include:IcePatch2/Config.h"]]
11 
12 [["ice-prefix"]]
13 
14 [["js:module:ice"]]
15 [["js:cjs-module"]]
16 
17 [["objc:header-dir:objc"]]
18 
19 [["python:pkgdir:IcePatch2"]]
20 
21 #include <Ice/BuiltinSequences.ice>
22 
23 #ifndef __SLICE2JAVA_COMPAT__
24 [["java:package:com.zeroc"]]
25 #endif
26 
27 ["objc:prefix:ICEPATCH2"]
28 module IcePatch2
29 {
30 
36 struct FileInfo
37 {
39  string path;
40 
43 
45  int size;
46 
48  bool executable;
49 }
50 
56 sequence<FileInfo> FileInfoSeq;
57 
64 {
66  string path;
67 
70 
72  long size;
73 
75  bool executable;
76 }
77 
83 sequence<LargeFileInfo> LargeFileInfoSeq;
84 
85 }
IcePatch2::LargeFileInfo::checksum
Ice::ByteSeq checksum
The SHA-1 checksum of the file.
Definition: FileInfo.ice:69
Ice::ByteSeq
sequence< byte > ByteSeq
A sequence of bytes.
Definition: BuiltinSequences.ice:33
IcePatch2::LargeFileInfo::executable
bool executable
The executable flag.
Definition: FileInfo.ice:75
IcePatch2::FileInfo::size
int size
The size of the compressed file in number of bytes.
Definition: FileInfo.ice:45
BuiltinSequences.ice
IcePatch2::FileInfoSeq
sequence< FileInfo > FileInfoSeq
A sequence with information about many files.
Definition: FileInfo.ice:56
IcePatch2::LargeFileInfo::path
string path
The pathname.
Definition: FileInfo.ice:66
IcePatch2::LargeFileInfo::size
long size
The size of the compressed file in number of bytes.
Definition: FileInfo.ice:72
IcePatch2
IcePatch can be used to update file hierarchies in a simple and efficient manner.
Definition: FileInfo.ice:29
IcePatch2::FileInfo
Basic information about a single file.
Definition: FileInfo.ice:37
IcePatch2::FileInfo::checksum
Ice::ByteSeq checksum
The SHA-1 checksum of the file.
Definition: FileInfo.ice:42
IcePatch2::FileInfo::executable
bool executable
The executable flag.
Definition: FileInfo.ice:48
IcePatch2::LargeFileInfo
Basic information about a single file.
Definition: FileInfo.ice:64
IcePatch2::LargeFileInfoSeq
sequence< LargeFileInfo > LargeFileInfoSeq
A sequence with information about many files.
Definition: FileInfo.ice:83
IcePatch2::FileInfo::path
string path
The pathname.
Definition: FileInfo.ice:39