Class NewFileEntry
- Namespace
- FishMMO.Patcher
- Assembly
- Updater.dll
public class NewFileEntry
- Inheritance
-
NewFileEntry
- Inherited Members
Properties
FileDataEntryName
[JsonPropertyName("file_data_entry_name")]
public string FileDataEntryName { get; set; }
Property Value
NewHash
[JsonPropertyName("new_hash")]
public string NewHash { get; set; }
Property Value
RelativePath
[JsonPropertyName("path")]
public string RelativePath { get; set; }
Property Value
UnixMode
POSIX permission bits the file should carry, or null when the generator could not record them (a Windows build host, or an older archive).
[JsonPropertyName("unix_mode")]
public int? UnixMode { get; set; }
Property Value
- int?
Remarks
A file written by File.Create lands at 0644, so a newly shipped native
binary or script arrives without its execute bit and cannot be run. When this is
absent the updater falls back to inspecting the file's first bytes; see
Program.ApplyModeForNewFile. Only the low nine bits are honoured — setuid,
setgid and sticky are stripped, because an archive is not allowed to ask for them.