mirror of
https://github.com/democratic-csi/democratic-csi.git
synced 2026-10-22 10:13:32 +02:00
better host-process support
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
@@ -113,6 +113,10 @@ function getLargestNumber() {
|
||||
return number;
|
||||
}
|
||||
|
||||
function stripWindowsDriveLetter(path) {
|
||||
return path.replace(/^[a-zA-Z]:/, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* transition function to replicate `request` style requests using axios
|
||||
*
|
||||
@@ -248,6 +252,7 @@ module.exports.crc16 = crc16;
|
||||
module.exports.lockKeysFromRequest = lockKeysFromRequest;
|
||||
module.exports.getLargestNumber = getLargestNumber;
|
||||
module.exports.stringify = stringify;
|
||||
module.exports.stripWindowsDriveLetter = stripWindowsDriveLetter;
|
||||
module.exports.axios_request = axios_request;
|
||||
module.exports.default_supported_block_filesystems =
|
||||
default_supported_block_filesystems;
|
||||
|
||||
Reference in New Issue
Block a user