Kudu.Core.SourceControl.Git.LibGit2SharpRepository.UpdateRawRef C# (CSharp) Метод

UpdateRawRef() публичный Метод

public UpdateRawRef ( string toBeUpdatedRef, string toBeUpdatedToRef ) : void
toBeUpdatedRef string
toBeUpdatedToRef string
Результат void
        public void UpdateRawRef(string toBeUpdatedRef, string toBeUpdatedToRef)
        {
            using (var repo = new LibGit2Sharp.Repository(RepositoryPath))
            {
                repo.Refs.UpdateTarget(toBeUpdatedRef, toBeUpdatedToRef);
            }
        }