AcUtils
A high performance abstraction layer for AccuRev
|
A container of AcDepot objects that define AccuRev depots in the repository. More...
Public Member Functions | |
async Task< string > | canViewAsync (AcUser user) |
Get the list of depots user has permission to view based on their principal name and group membership access control list (ACL) entries. More... | |
AcDepot | getDepot (string name) |
Get the AcDepot object for depot name. More... | |
AcDepot | getDepot (int ID) |
Get the AcDepot object for depot ID number. More... | |
AcDepot | getDepotForStream (string name) |
Get the AcDepot object for stream name. More... | |
AcStream | getStream (string name) |
Get the AcStream object for stream name. More... | |
Two-part object construction: | |
AcDepots (bool dynamicOnly=false, bool includeHidden=false) | |
A container of AcDepot objects that define AccuRev depots in the repository. More... | |
async Task< bool > | initAsync (DepotsCollection depotsCol=null, IProgress< int > progress=null) |
Populate this container with AcDepot objects as per constructor parameters. More... | |
A container of AcDepot objects that define AccuRev depots in the repository.
Definition at line 622 of file AcDepots.cs.
|
inline |
A container of AcDepot objects that define AccuRev depots in the repository.
dynamicOnly | true for dynamic streams only, false for all stream types. |
includeHidden | true to include hidden (removed) streams, otherwise do not include hidden streams. |
Definition at line 652 of file AcDepots.cs.
|
inline |
Get the list of depots user has permission to view based on their principal name and group membership access control list (ACL) entries.
A plus sign (+) appended to the depot name denotes the Inheritable attribute.
user | User for which to query. |
Definition at line 785 of file AcDepots.cs.
|
inline |
Get the AcDepot object for depot name.
name | Depot name to query. |
Definition at line 873 of file AcDepots.cs.
|
inline |
Get the AcDepot object for depot ID number.
ID | Depot ID number to query. |
Definition at line 883 of file AcDepots.cs.
|
inline |
Get the AcDepot object for stream name.
name | Stream name to query. |
Definition at line 893 of file AcDepots.cs.
|
inline |
Get the AcStream object for stream name.
name | Stream name to query. |
Definition at line 906 of file AcDepots.cs.
|
inline |
Populate this container with AcDepot objects as per constructor parameters.
depotsCol | List of depots to create, otherwise null for all depots. |
progress | Optionally report progress back to the caller. |
AcUtilsException | caught and logged in %LOCALAPPDATA%\AcTools\Logs\<prog_name>-YYYY-MM-DD.log on show command failure. |
Exception | caught and logged in same on failure to handle a range of exceptions. |
show -fx depots
show -fx depots
is obsolete. It's an AccuRev 4.x artifact and should be removed. RPI defect 1112042, SupportLine AR3325. Definition at line 714 of file AcDepots.cs.
Referenced by AcUtils.AcLocks.initAsync(), and AcUtils.AcRules.initAsync().