- java.lang.Object
-
- ru.serce.jnrfuse.AbstractFuseFS
-
- ru.serce.jnrfuse.FuseStubFS
-
- org.cryptomator.fusecloudaccess.CloudAccessFS
-
- All Implemented Interfaces:
ru.serce.jnrfuse.FuseFS,ru.serce.jnrfuse.Mountable
@FileSystemScoped public class CloudAccessFS extends ru.serce.jnrfuse.FuseStubFS implements ru.serce.jnrfuse.FuseFS
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intchmod(String path, long mode)intcreate(String path, long mode, ru.serce.jnrfuse.struct.FuseFileInfo fi)static CloudAccessFScreateNewFileSystem(org.cryptomator.cloudaccess.api.CloudProvider provider, int timeoutMillis, Path cacheDir, org.cryptomator.cloudaccess.api.CloudPath uploadDir)voiddestroy(jnr.ffi.Pointer initResult)intftruncate(String path, long size, ru.serce.jnrfuse.struct.FuseFileInfo fi)intgetattr(String path, ru.serce.jnrfuse.struct.FileStat stat)intmkdir(String path, long mode)intopen(String path, ru.serce.jnrfuse.struct.FuseFileInfo fi)intopendir(String path, ru.serce.jnrfuse.struct.FuseFileInfo fi)intread(String path, jnr.ffi.Pointer buf, long size, long offset, ru.serce.jnrfuse.struct.FuseFileInfo fi)intreaddir(String path, jnr.ffi.Pointer buf, ru.serce.jnrfuse.FuseFillDir filler, long offset, ru.serce.jnrfuse.struct.FuseFileInfo fi)intrelease(String path, ru.serce.jnrfuse.struct.FuseFileInfo fi)intreleasedir(String path, ru.serce.jnrfuse.struct.FuseFileInfo fi)intrename(String oldpath, String newpath)intrmdir(String path)intstatfs(String path, ru.serce.jnrfuse.struct.Statvfs stbuf)inttruncate(String path, long size)intunlink(String path)intwrite(String path, jnr.ffi.Pointer buf, long size, long offset, ru.serce.jnrfuse.struct.FuseFileInfo fi)-
Methods inherited from class ru.serce.jnrfuse.FuseStubFS
access, bmap, chown, fallocate, fgetattr, flock, flush, fsync, fsyncdir, getxattr, init, ioctl, link, listxattr, lock, mknod, poll, read_buf, readlink, removexattr, setxattr, symlink, utimens, write_buf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
createNewFileSystem
public static CloudAccessFS createNewFileSystem(org.cryptomator.cloudaccess.api.CloudProvider provider, int timeoutMillis, Path cacheDir, org.cryptomator.cloudaccess.api.CloudPath uploadDir)
-
statfs
public int statfs(String path, ru.serce.jnrfuse.struct.Statvfs stbuf)
- Specified by:
statfsin interfaceru.serce.jnrfuse.FuseFS- Overrides:
statfsin classru.serce.jnrfuse.FuseStubFS
-
getattr
public int getattr(String path, ru.serce.jnrfuse.struct.FileStat stat)
- Specified by:
getattrin interfaceru.serce.jnrfuse.FuseFS- Overrides:
getattrin classru.serce.jnrfuse.FuseStubFS
-
opendir
public int opendir(String path, ru.serce.jnrfuse.struct.FuseFileInfo fi)
- Specified by:
opendirin interfaceru.serce.jnrfuse.FuseFS- Overrides:
opendirin classru.serce.jnrfuse.FuseStubFS
-
readdir
public int readdir(String path, jnr.ffi.Pointer buf, ru.serce.jnrfuse.FuseFillDir filler, long offset, ru.serce.jnrfuse.struct.FuseFileInfo fi)
- Specified by:
readdirin interfaceru.serce.jnrfuse.FuseFS- Overrides:
readdirin classru.serce.jnrfuse.FuseStubFS
-
releasedir
public int releasedir(String path, ru.serce.jnrfuse.struct.FuseFileInfo fi)
- Specified by:
releasedirin interfaceru.serce.jnrfuse.FuseFS- Overrides:
releasedirin classru.serce.jnrfuse.FuseStubFS
-
open
public int open(String path, ru.serce.jnrfuse.struct.FuseFileInfo fi)
- Specified by:
openin interfaceru.serce.jnrfuse.FuseFS- Overrides:
openin classru.serce.jnrfuse.FuseStubFS
-
release
public int release(String path, ru.serce.jnrfuse.struct.FuseFileInfo fi)
- Specified by:
releasein interfaceru.serce.jnrfuse.FuseFS- Overrides:
releasein classru.serce.jnrfuse.FuseStubFS
-
rename
public int rename(String oldpath, String newpath)
- Specified by:
renamein interfaceru.serce.jnrfuse.FuseFS- Overrides:
renamein classru.serce.jnrfuse.FuseStubFS
-
mkdir
public int mkdir(String path, long mode)
- Specified by:
mkdirin interfaceru.serce.jnrfuse.FuseFS- Overrides:
mkdirin classru.serce.jnrfuse.FuseStubFS
-
create
public int create(String path, long mode, ru.serce.jnrfuse.struct.FuseFileInfo fi)
- Specified by:
createin interfaceru.serce.jnrfuse.FuseFS- Overrides:
createin classru.serce.jnrfuse.FuseStubFS
-
chmod
public int chmod(String path, long mode)
- Specified by:
chmodin interfaceru.serce.jnrfuse.FuseFS- Overrides:
chmodin classru.serce.jnrfuse.FuseStubFS
-
rmdir
public int rmdir(String path)
- Specified by:
rmdirin interfaceru.serce.jnrfuse.FuseFS- Overrides:
rmdirin classru.serce.jnrfuse.FuseStubFS
-
unlink
public int unlink(String path)
- Specified by:
unlinkin interfaceru.serce.jnrfuse.FuseFS- Overrides:
unlinkin classru.serce.jnrfuse.FuseStubFS
-
read
public int read(String path, jnr.ffi.Pointer buf, long size, long offset, ru.serce.jnrfuse.struct.FuseFileInfo fi)
- Specified by:
readin interfaceru.serce.jnrfuse.FuseFS- Overrides:
readin classru.serce.jnrfuse.FuseStubFS
-
write
public int write(String path, jnr.ffi.Pointer buf, long size, long offset, ru.serce.jnrfuse.struct.FuseFileInfo fi)
- Specified by:
writein interfaceru.serce.jnrfuse.FuseFS- Overrides:
writein classru.serce.jnrfuse.FuseStubFS
-
truncate
public int truncate(String path, long size)
- Specified by:
truncatein interfaceru.serce.jnrfuse.FuseFS- Overrides:
truncatein classru.serce.jnrfuse.FuseStubFS
-
ftruncate
public int ftruncate(String path, long size, ru.serce.jnrfuse.struct.FuseFileInfo fi)
- Specified by:
ftruncatein interfaceru.serce.jnrfuse.FuseFS- Overrides:
ftruncatein classru.serce.jnrfuse.FuseStubFS
-
destroy
public void destroy(jnr.ffi.Pointer initResult)
- Specified by:
destroyin interfaceru.serce.jnrfuse.FuseFS- Overrides:
destroyin classru.serce.jnrfuse.FuseStubFS
-
-