gitea/src/8fd54ec5-d93e-445c-ae27-80b...
Robot 12042ffd4d
update 2024-04-07 13:20:18
2024-04-07 13:20:22 +02:00
..
README.md update 2023-10-10 10:16:07 2023-10-10 11:39:23 +02:00
code.php first commit 2023-04-15 17:08:07 +02:00
code.power first commit 2023-04-15 17:08:07 +02:00
settings.json update 2024-04-07 13:20:18 2024-04-07 13:20:22 +02:00

README.md

██████╗  ██████╗ ██╗    ██╗███████╗██████╗
██╔══██╗██╔═══██╗██║    ██║██╔════╝██╔══██╗
██████╔╝██║   ██║██║ █╗ ██║█████╗  ██████╔╝
██╔═══╝ ██║   ██║██║███╗██║██╔══╝  ██╔══██╗
██║     ╚██████╔╝╚███╔███╔╝███████╗██║  ██║
╚═╝      ╚═════╝  ╚══╝╚══╝ ╚══════╝╚═╝  ╚═╝

class Branch (Details)

namespace: VDM\Joomla\Gitea\Repository extends: Api

@startuml
class Branch  #Gold {
  + list(string $owner, string $repo, ...) : ?array
  + create(string $owner, string $repo, ...) : ?object
  + get(string $owner, string $repo, ...) : ?object
  + delete(string $owner, string $repo, ...) : string
}

note right of Branch::list
  List a repository's branches.

  since: 3.2.0
  return: ?array
  
  arguments:
    string $owner
    string $repo
    int $page = 1
    int $limit = 10
end note

note right of Branch::create
  Create a branch.

  since: 3.2.0
  return: ?object
  
  arguments:
    string $owner
    string $repo
    string $branch_name
    string $old_branch
end note

note right of Branch::get
  Retrieve a specific branch from a repository, including its effective branch protection.

  since: 3.2.0
  return: ?object
  
  arguments:
    string $owner
    string $repo
    string $branch
end note

note right of Branch::delete
  Delete a specific branch from a repository.

  since: 3.2.0
  return: string
  
  arguments:
    string $owner
    string $repo
    string $branch
end note
 
@enduml

     ██╗ ██████╗██████╗
     ██║██╔════╝██╔══██╗
     ██║██║     ██████╔╝
██   ██║██║     ██╔══██╗
╚█████╔╝╚██████╗██████╔╝
 ╚════╝  ╚═════╝╚═════╝

Build with Joomla Component Builder