Skip to content

Commit

Permalink
move exceptions to public API
Browse files Browse the repository at this point in the history
  • Loading branch information
ikhoon committed Oct 18, 2024
1 parent 8962e2c commit 08722d2
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
import com.linecorp.centraldogma.server.mirror.MirrorDirection;
import com.linecorp.centraldogma.server.mirror.MirrorResult;
import com.linecorp.centraldogma.server.mirror.MirrorStatus;
import com.linecorp.centraldogma.server.mirror.git.GitMirrorException;
import com.linecorp.centraldogma.server.storage.StorageException;
import com.linecorp.centraldogma.server.storage.repository.Repository;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
import com.linecorp.centraldogma.server.internal.credential.PublicKeyCredential;
import com.linecorp.centraldogma.server.mirror.MirrorDirection;
import com.linecorp.centraldogma.server.mirror.MirrorResult;
import com.linecorp.centraldogma.server.mirror.git.SshMirrorException;
import com.linecorp.centraldogma.server.storage.repository.Repository;

final class SshGitMirror extends AbstractGitMirror {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* under the License.
*/

package com.linecorp.centraldogma.server.internal.mirror;
package com.linecorp.centraldogma.server.mirror.git;

import com.linecorp.centraldogma.common.MirrorException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* under the License.
*/

package com.linecorp.centraldogma.server.internal.mirror;
package com.linecorp.centraldogma.server.mirror.git;

import com.linecorp.centraldogma.common.MirrorException;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* Copyright 2021 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*/
/**
* Central Dogma Git mirroring.
*/
@NonNullByDefault
package com.linecorp.centraldogma.server.mirror.git;

import com.linecorp.centraldogma.common.util.NonNullByDefault;

0 comments on commit 08722d2

Please sign in to comment.