Flags to define the base file type.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.2.269.3570
Syntax [FlagsAttribute]
public enum BaseFileType
<FlagsAttribute>
Public Enumeration BaseFileType
[FlagsAttribute]
public enum class BaseFileType
[<FlagsAttribute>]
type BaseFileType
Members
| Member name | Value | Description |
---|
| Unspecified | 0 |
An unspecified base file type.
|
| Text | 1 |
Client Use: newlines translated.
Server Storage: deltas in RCS format.
|
| Binary | 2 |
Client Use: raw bytes.
Server Storage: compressed binary.
|
| Symlink | 4 |
Client Use: symbolic link.
Server Storage: deltas in RCS format.
|
| Apple | 8 |
Client Use: Mac resource + data.
Server Storage: compressed AppleSingle.
|
| Resource | 16 |
Client Use: Mac resource fork.
Server Storage: compressed binary.
|
| Unicode | 32 |
Client Use: newlines translated.
Server Storage: deltas in RCS format
stored as UTF-8.
|
| UTF16 | 64 |
Client Use: newlines translated
client file UTF-16
Server Storage: deltas in RCS format
stored as UTF-8
Files of type utf16 are stored in the depot in UTF-8.
These files are in utf16 in the client workspace.
The automatic type detection requires a BOM be present
at the start of the file. Files without a BOM are
assumed to be in client byte order. When utf16 files
are written to a client, they are written with a BOM
in client byte order.
|
| UTF8 | 128 |
Client Use: newlines translated.
Server Storage: deltas in RCS format
stored as UTF-8.
|
See Also