Search Results for

    Show / Hide Table of Contents

    Class ChangeFileOperation

    ChangeFileOperation for creating, updating or deleting a file

    Inheritance
    System.Object
    ChangeFileOperation
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Dangl.GiteaOrgManager.Client
    Assembly: Dangl.GiteaOrgManager.dll
    Syntax
    public class ChangeFileOperation

    Properties

    | Improve this Doc View Source

    Content

    new or updated file content, must be base64 encoded

    Declaration
    public string Content { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    From_path

    old path of the file to move

    Declaration
    public string From_path { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Operation

    indicates what to do with the file

    Declaration
    [Required(AllowEmptyStrings = true)]
    public ChangeFileOperationOperation Operation { get; set; }
    Property Value
    Type Description
    ChangeFileOperationOperation
    | Improve this Doc View Source

    Path

    path to the existing or new file

    Declaration
    [Required(AllowEmptyStrings = true)]
    public string Path { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Sha

    sha is the SHA for the file that already exists, required for update or delete

    Declaration
    public string Sha { get; set; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Dangl IT GmbH