Skip to content

Commit

Permalink
update to jfuse 0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
overheadhunter committed Oct 28, 2022
1 parent b9595db commit d4f2fd8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<!-- dependencies -->
<integrations-api.version>1.2.0-alpha1</integrations-api.version>
<jfuse.version>0.3.1</jfuse.version>
<jfuse.version>0.3.2</jfuse.version>
<guava.version>31.1-jre</guava.version>
<slf4j.version>2.0.3</slf4j.version>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import org.cryptomator.integrations.mount.MountFeature;
import org.cryptomator.integrations.mount.MountProvider;
import org.cryptomator.jfuse.api.Fuse;
import org.cryptomator.jfuse.api.FuseMountFailedException;

import java.nio.file.Files;
import java.nio.file.Path;
Expand Down Expand Up @@ -115,7 +116,7 @@ public Mount mount() throws MountFailedException {
try {
fuse.mount("fuse-nio-adapter", mountPoint, combinedMountFlags().toArray(String[]::new));
return new MacMountedVolume(fuse, mountPoint);
} catch (org.cryptomator.jfuse.api.MountFailedException e) {
} catch (FuseMountFailedException e) {
throw new MountFailedException(e);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import org.cryptomator.integrations.mount.MountProvider;
import org.cryptomator.integrations.mount.UnmountFailedException;
import org.cryptomator.jfuse.api.Fuse;
import org.cryptomator.jfuse.api.FuseMountFailedException;

import java.io.IOException;
import java.io.UncheckedIOException;
Expand Down Expand Up @@ -104,7 +105,7 @@ public Mount mount() throws MountFailedException {
try {
fuse.mount("fuse-nio-adapter", mountPoint, mountFlags.toArray(String[]::new));
return new LinuxFuseMountedVolume(fuse, mountPoint);
} catch (org.cryptomator.jfuse.api.MountFailedException e) {
} catch (FuseMountFailedException e) {
throw new MountFailedException(e);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import org.cryptomator.integrations.mount.MountFeature;
import org.cryptomator.integrations.mount.MountProvider;
import org.cryptomator.jfuse.api.Fuse;
import org.cryptomator.jfuse.api.FuseMountFailedException;

import java.io.IOException;
import java.io.UncheckedIOException;
Expand Down Expand Up @@ -112,7 +113,7 @@ public Mount mount() throws MountFailedException {
try {
fuse.mount("fuse-nio-adapter", mountPoint, combinedMountFlags().toArray(String[]::new));
return new MacMountedVolume(fuse, mountPoint);
} catch (org.cryptomator.jfuse.api.MountFailedException e) {
} catch (FuseMountFailedException e) {
throw new MountFailedException(e);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import org.cryptomator.integrations.mount.MountProvider;
import org.cryptomator.integrations.mount.UnmountFailedException;
import org.cryptomator.jfuse.api.Fuse;
import org.cryptomator.jfuse.api.FuseMountFailedException;

import java.nio.file.Files;
import java.nio.file.Path;
Expand Down Expand Up @@ -109,7 +110,7 @@ public Mount mount() throws MountFailedException {
var fuse = builder.build(fuseAdapter);
fuse.mount("fuse-nio-adapter", mountPoint, combinedMountFlags().toArray(String[]::new));
return new WinfspMount(fuse, fuseAdapter, mountPoint);
} catch (org.cryptomator.jfuse.api.MountFailedException e) {
} catch (FuseMountFailedException e) {
throw new MountFailedException(e);
}
}
Expand Down

0 comments on commit d4f2fd8

Please sign in to comment.