"s:K,s:K,"
"s:l,s:l,s:l,s:l,"
"s:i,s:K,s:i,s:i,s:I,"
- "s:s,s:s}",
+ "s:s,s:s,s:k}",
"name", finfo->name,
"attrib", finfo->attr,
"owner_sid",
dom_sid_string(finfo, &finfo->owner_sid),
"group_sid",
- dom_sid_string(finfo, &finfo->group_sid));
+ dom_sid_string(finfo, &finfo->group_sid),
+ "reparse_tag", (unsigned long)finfo->reparse_tag);
if (file == NULL) {
return NT_STATUS_NO_MEMORY;
}
* Build a dictionary representing the file info.
* Note: Windows does not always return short_name (so it may be None)
*/
- file = Py_BuildValue("{s:s,s:i,s:s,s:O,s:l}",
+ file = Py_BuildValue("{s:s,s:i,s:s,s:O,s:l,s:k}",
"name", finfo->name,
"attrib", (int)finfo->attr,
"short_name", finfo->short_name,
"size", size,
"mtime",
- convert_timespec_to_time_t(finfo->mtime_ts));
+ convert_timespec_to_time_t(finfo->mtime_ts),
+ "reparse_tag", (unsigned long)finfo->reparse_tag);
Py_CLEAR(size);