MCPcopy
hub / github.com/questdb/questdb / getFileSystemStatus

Method getFileSystemStatus

core/src/main/java/io/questdb/std/Files.java:236–242  ·  view source on GitHub ↗

Detects if filesystem is supported by QuestDB. The function returns both FS magic and name. Both can be presented to user even if file system is not supported. @param lpszName existing path on the file system. The name of the filesystem is written to this address, therefore name sho

(LPSZ lpszName)

Source from the content-addressed store, hash-verified

234 * positive number is magic that is not supported.
235 */
236 public static int getFileSystemStatus(LPSZ lpszName) {
237 int status = getFileSystemStatus(lpszName.ptr());
238 if (status == VIRTIO_FS_MAGIC) {
239 VIRTIO_FS_DETECTED = true;
240 }
241 return status;
242 }
243
244 public static long getLastModified(LPSZ lpsz) {
245 return getLastModified(lpsz.ptr());

Callers 4

assumeIsNotTmpFsMethod · 0.95
verifyFileSystemMethod · 0.95
allowMixedIOMethod · 0.95
getFileSystemStatusMethod · 0.95

Calls 1

ptrMethod · 0.65

Tested by 1

assumeIsNotTmpFsMethod · 0.76