2.2.1.5.3 folder Element
The folder XML element represents a folder on the disk.
-
<xs:element name="folder"> <xs:complexType> <xs:sequence> <xs:element name="path" type="xs:string" /> <xs:element name="fileCount" type="xs:long" /> <xs:element name="folderCount" type="xs:long" /> <xs:element name="size" type="xs:long" /> <xs:element name="configSize" type="xs:long" /> </xs:sequence> <xs:attribute name="type"> <xs:simpleType> <xs:restriction base="xs:string" > <xs:enumeration value="root" /> <xs:enumeration value="conflict" /> <xs:enumeration value="staging" /> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element>
Child Elements
Element |
Type |
Description |
---|---|---|
path |
xs:string |
MUST be the path of the folder on the disk. The path format is implementation specific. <5> |
fileCount |
xs:long |
MUST be the number of files in the folder and all subfolders, or –1 if the file number information is not included in the report. |
folderCount |
xs:long |
MUST be the number of all direct subfolders of the folder, or –1 if the folder number information is not included in the report. |
size |
xs:long |
MUST be the cumulative size, in bytes, of all files in the folder and all subfolders, or –1 if the file size information is not included in the report. |
configSize |
xs:long |
MUST be the maximum size, in bytes, of the folder if the folder has a type of "conflict" or "staging". The value of this element MUST be –1 for folders of type "root". |
Attributes
Name |
Type |
Description |
||||||||
---|---|---|---|---|---|---|---|---|---|---|
type |
enumeration |
The type of the folder. The value of this element MUST be one of the following strings:
|