Base filetypes
The base file types of P4 Server and their default storage.
| Keyword | Description | Comments | Default storage |
|---|---|---|---|
|
|
Non-text file |
Synced as binary files in the workspace. Stored compressed within the depot. |
full file, compressed |
|
|
Text file |
Synced as text in the workspace. Line-ending translations are performed automatically. |
full file, compressed |
|
|
Symbolic link |
P4 Server applications on UNIX, macOS, recent versions of Windows treat these files as symbolic links. On other platforms, these files appear as (small) text files. On Windows, you require |
full file, compressed |
|
|
Unicode file |
Services operating in unicode mode support the
Line-ending translations are performed automatically. Services not in unicode mode do not support the
For details, see the Internationalization Notes. |
full file in UTF-8 format, compressed |
|
|
Unicode file |
Synced in the client workspace with the UTF-8 BOM (byte order mark). Whether the service is in unicode mode or not, files are transferred as UTF-8 in the client workspace. Line-ending translations are performed automatically. For details, see the Internationalization Notes. |
full file in UTF-8 format, compressed without the UTF-8 BOM (byte order mark) |
|
|
Unicode file |
Whether the service is in unicode mode or not, files are transferred as UTF-8, and translated to UTF-16 (with byte order mark, in the byte order appropriate for the user’s machine) in the client workspace. Line-ending translations are performed automatically. For details, see the Internationalization Notes. |
full file in UTF-8 format, compressed |
|
apple |
A legacy format of Apple Inc. |
||
|
resource |
For resource forks on legacy Apple computers, which are no longer supported by Apple Inc. |
Prior to the 2022.1 release
Prior to the 2022.1 release, the default storage was deltas in RCS forma, except that files of type binary were always compressed. Since 2022.1, the lbr.autocompress configurable, by default, causes files of type text, symlink, unicode, utf8, and utf16 to be compressed.