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 SourceContent
new or updated file content, must be base64 encoded
Declaration
public string Content { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
From_path
old path of the file to move
Declaration
public string From_path { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Operation
indicates what to do with the file
Declaration
[Required(AllowEmptyStrings = true)]
public ChangeFileOperationOperation Operation { get; set; }
Property Value
| Type | Description |
|---|---|
| ChangeFileOperationOperation |
Path
path to the existing or new file
Declaration
[Required(AllowEmptyStrings = true)]
public string Path { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
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 |