| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | pub mod archive; |
| 7 | pub(crate) mod authz; |
| 8 | pub mod browse; |
| 9 | pub mod claim; |
| 10 | pub mod commit; |
| 11 | pub mod config; |
| 12 | pub mod diff; |
| 13 | pub mod error; |
| 14 | pub mod git; |
| 15 | pub mod identity; |
| 16 | pub mod login; |
| 17 | pub mod port; |
| 18 | pub mod profile; |
| 19 | pub mod repo; |
| 20 | pub mod search; |
| 21 | pub mod session; |
| 22 | pub mod summary; |
| 23 | pub mod token; |
| 24 | |
| 25 | pub use archive::{ArchiveTarget, archive_repo, open_archive}; |
| 26 | pub use browse::{ |
| 27 | Browsed, FileView, LOG_LIMIT, MAX_BLOB_BYTES, MAX_RAW_BYTES, RawFile, RefList, RefPage, |
| 28 | browse_repo, list_branches, list_refs, list_tags, read_raw_file, repo_log, |
| 29 | }; |
| 30 | pub use claim::{OwnerSpec, claim_instance, is_claimed, sole_owner_handle}; |
| 31 | pub use commit::{ |
| 32 | COMPARE_LOG_LIMIT, CommitPage, Compared, Comparison, compare_revisions, view_commit, |
| 33 | }; |
| 34 | pub use config::{AppConfig, Secret}; |
| 35 | pub use diff::{Diff, DiffLine, FileChange, FileDiff, FileStat, LineKind, MAX_FILE_DIFF_LINES}; |
| 36 | pub use error::{Error, Result}; |
| 37 | pub use git::{GitClientHeaders, GitEndpoint, GitOperation, GitService, serve_git}; |
| 38 | pub use identity::{Identity, describe_identity}; |
| 39 | pub use login::login; |
| 40 | pub use profile::{PublicProfile, update_profile, view_profile}; |
| 41 | pub use repo::{ |
| 42 | NewRepo, RepoEdit, RepoSummary, RepoView, create_repo, delete_repo, list_repos, update_repo, |
| 43 | view_repo, |
| 44 | }; |
| 45 | pub use search::{MAX_QUERY_BYTES, SEARCH_LIMIT, SearchFile, SearchResults, Searched, search_repo}; |
| 46 | pub use session::{SESSION_LIFETIME, end_session, record_session, resolve_actor, sweep_expired}; |
| 47 | pub use summary::{Licence, RepoFacts, repo_summary}; |
| 48 | pub use token::{ |
| 49 | IssuedToken, TokenSummary, authenticate_token, issue_token, list_tokens, revoke_token, |
| 50 | }; |