We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8474fa0 commit 8511943Copy full SHA for 8511943
src/filesystem/implementations/s3.h
@@ -654,7 +654,11 @@ S3FileSystem::LocalizePath(
654
effective_path = path;
655
}
656
657
- // Create a local directory for s3 model store
+ // Create a local directory for s3 model store.
658
+ // If `mount_dir` or ENV variable are not set,
659
+ // creates a temporary directory under `/tmp` with the format: "folderXXXXXX".
660
+ // Otherwise, will create a folder under specified directory with the name
661
+ // indicated in path (i.e. everything after the last encounter of `/`).
662
const char* env_mount_dir = std::getenv("TRITON_AWS_MOUNT_DIRECTORY");
663
std::string tmp_folder;
664
if (mount_dir.empty() && env_mount_dir == nullptr) {
0 commit comments