Skip to main content

%Studio.SourceControl.File

Class %Studio.SourceControl.File Extends %Studio.SourceControl.Base [ System = 4 ]

This class is used internally by InterSystems. You should not make direct use of it within your applications. There is no guarantee made about either the behavior or future operation of this class.

XDatas

XData Menu

Methods

OnBeforeLoad

Method OnBeforeLoad(InternalName As %String, display As %Boolean = 1) As %Status

OnBeforeTimestamp

Method OnBeforeTimestamp(InternalName As %String)

OnAfterSave

Method OnAfterSave(InternalName As %String, Object As %RegisteredObject) As %Status

OnAfterCompile

Method OnAfterCompile(InternalName As %String) As %Status

GetStatus

Method GetStatus(InternalName As %String, ByRef IsInSourceControl As %Boolean, ByRef Editable As %Boolean, ByRef IsCheckedOut As %Boolean, ByRef UserCheckedOut As %String) As %Status

IsInSourceControl

Method IsInSourceControl(InternalName As %String) As %Boolean [ CodeMode = expression ]

ExternalName

Method ExternalName(InternalName As %String) As %String [ CodeMode = expression ]

CheckIn

Method CheckIn(InternalName As %String, Description As %String) As %Status

Check this routine/class/csp file into source control.

UpdateSources

ClassMethod UpdateSources() As %Status

Update the ^Sources information with the file dates after a running a build

ExtName

ClassMethod ExtName(InternalName As %String) As %String [ Private ]

Return filename of this item

Name

ClassMethod Name(InternalName As %String) As %String [ Private ]

Return the name of this item without the prefix to be added by ExtName