Lines Matching refs:base_dir
51 std::string MakeDocumentLogFilenameV0(const std::string& base_dir) { in MakeDocumentLogFilenameV0() argument
52 return absl_ports::StrCat(base_dir, "/", DocumentLogFilenameV0()); in MakeDocumentLogFilenameV0()
55 std::string MakeDocumentLogFilenameV1(const std::string& base_dir) { in MakeDocumentLogFilenameV1() argument
56 return absl_ports::StrCat(base_dir, "/", DocumentLogFilenameV1()); in MakeDocumentLogFilenameV1()
69 const std::string& base_dir) { in Create() argument
71 filesystem->FileExists(MakeDocumentLogFilenameV0(base_dir).c_str()); in Create()
76 filesystem->FileExists(MakeDocumentLogFilenameV1(base_dir).c_str()); in Create()
79 ICING_RETURN_IF_ERROR(MigrateFromV0ToV1(filesystem, base_dir)); in Create()
96 filesystem->DeleteFile(MakeDocumentLogFilenameV0(base_dir).c_str()); in Create()
104 filesystem, MakeDocumentLogFilenameV1(base_dir), in Create()
114 const Filesystem* filesystem, const std::string& base_dir) { in MigrateFromV0ToV1() argument
120 filesystem, MakeDocumentLogFilenameV0(base_dir), in MigrateFromV0ToV1()
137 filesystem, MakeDocumentLogFilenameV1(base_dir), in MigrateFromV0ToV1()