浏览代码

shorten FS_TYPE_NAME to "CryptomatorFS" (#1371)

This fixes part of #1033 by shortening the FS_TYPE_NAME so that it can be returned inside a 48-byte-long FILE_FS_ATTRIBUTE_INFORMATION buffer, which only has room for up to 17 UTF-16 characters in the file system name field.
Reid Rankin 4 年之前
父节点
当前提交
0e5d72c22a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main/commons/src/main/java/org/cryptomator/common/vaults/DokanyVolume.java

+ 1 - 1
main/commons/src/main/java/org/cryptomator/common/vaults/DokanyVolume.java

@@ -24,7 +24,7 @@ public class DokanyVolume implements Volume {
 
 	private static final Logger LOG = LoggerFactory.getLogger(DokanyVolume.class);
 
-	private static final String FS_TYPE_NAME = "Cryptomator File System";
+	private static final String FS_TYPE_NAME = "CryptomatorFS";
 
 	private final VaultSettings vaultSettings;
 	private final MountFactory mountFactory;