Defines the expected flow of change between a stream and its parent.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2025.1.277.3624
Syntax[FlagsAttribute]
public enum StreamType
<FlagsAttribute>
Public Enumeration StreamType
[FlagsAttribute]
public enum class StreamType
[<FlagsAttribute>]
type StreamType
Members
| Member name | Value | Description |
---|
| Development | 0 |
Development: Default. Direction of flow is
to parent stream with copy and from parent
stream with merge.
|
| Mainline | 1 |
Mainline: May not have a parent.
|
| Release | 2 |
Release: Direction of flow is to parent
with merge and from parent with copy.
|
| Virtual | 4 |
Virtual: Not a stream but an alternative
view of its parent stream.
|
| Task | 8 |
Task: A lightweight short-lived stream that
only promotes modified content to the
repository, branched data is stored in
shadow tables that are removed when the task
stream is deleted or unloaded.
|
| Sparsedev | 16 |
Sparsedev: Sparse stream for development with
the same flow control as a stream of type development.
Files in sparse streams are only branched as needed,
so less metadata needs to be maintained, stored,
and sent to downstream servers.
A sparse stream can be a child of a mainline,
development, or release stream.
|
| Sparserel | 32 |
Sparserel: Sparse stream for release with the
same flow control as a stream of type release.
Files in sparse streams are only branched as needed,
so less metadata needs to be maintained, stored,
and sent to downstream servers.
A sparse stream can be a child of a mainline,
development, or release stream.
|
See Also