using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Perforce.P4 { /// <summary> /// The protection mode or rights associated with this entry. /// </summary> public enum ProtectionMode { List, Read, Open, Write, Admin, Super, Review, ReadRights, BranchRights, OpenRights, WriteRights } /// <summary> /// The type of protection (user or group). /// </summary> public enum EntryType { User, Group } /// <summary> /// Describes a protection entry (line) in a Perforce protection table. /// </summary> public class ProtectionEntry { public ProtectionEntry(ProtectionMode mode, EntryType type, string name, string host, string path) { Mode = mode; Type = type; Name = name; Host = host; Path = path; } public ProtectionMode Mode { get; set; } public EntryType Type { get; set; } public string Name { get; set; } public string Host { get; set; } public string Path { get; set; } } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 19358 | AnnaTito |
Populate -o //guest/perforce_software/p4connect/... //guest/AnnaTito/dev/p4connect/.... |
||
//guest/perforce_software/p4connect/main/src/P4Bridge/p4api.net/ProtectionEntry.cs | |||||
#1 | 16209 | Norman Morse | Move entire source tree into "main" branch so workshop code will act correctly. | ||
//guest/perforce_software/p4connect/src/P4Bridge/p4api.net/ProtectionEntry.cs | |||||
#1 | 10940 | Norman Morse |
Inital Workshop release of P4Connect. Released under BSD-2 license |