added empty line at the end of files (was removed by clang-format)

This commit is contained in:
Andrei Medar 2020-10-07 14:36:24 +00:00
parent c63302f731
commit f038f7aa3f
9 changed files with 11 additions and 1 deletions

View File

@ -20,7 +20,8 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED 17) set(CMAKE_CXX_STANDARD_REQUIRED 17)
# Build SAPI library # Build SAPI library
set(SAPI_ROOT "" CACHE PATH "Path to the Sandboxed API source tree") #set(SAPI_ROOT "" CACHE PATH "Path to the Sandboxed API source tree")
set(SAPI_ROOT "/usr/local/google/home/amedar/internship/sandboxed-api" CACHE PATH "Path to the Sandboxed API source tree")
include(FetchContent) include(FetchContent)
FetchContent_Declare( FetchContent_Declare(
@ -57,3 +58,4 @@ target_include_directories(libarchive_sapi INTERFACE
add_subdirectory(examples) add_subdirectory(examples)
add_subdirectory(test) add_subdirectory(test)

View File

@ -45,3 +45,4 @@ The available options are:
- *z* - Compress with GZIP. - *z* - Compress with GZIP.
If no compression method is chosen (in the case of archive creation) the files will only be stored. If no compression method is chosen (in the case of archive creation) the files will only be stored.

View File

@ -40,3 +40,4 @@ add_executable(sapi_minitar
target_link_libraries(sapi_minitar PRIVATE target_link_libraries(sapi_minitar PRIVATE
sapi_minitar_lib sapi_minitar_lib
) )

View File

@ -145,3 +145,4 @@ class SapiLibarchiveSandboxExtract : public LibarchiveSandbox {
}; };
#endif // SAPI_LIBARCHIVE_EXAMPLES_SANDBOX_H #endif // SAPI_LIBARCHIVE_EXAMPLES_SANDBOX_H

View File

@ -544,3 +544,4 @@ absl::StatusOr<std::string> CreateTempDirAtCWD() {
SAPI_ASSIGN_OR_RETURN(std::string result, sandbox2::CreateTempDir(cwd)); SAPI_ASSIGN_OR_RETURN(std::string result, sandbox2::CreateTempDir(cwd));
return result; return result;
} }

View File

@ -61,3 +61,4 @@ absl::StatusOr<std::string> CheckStatusAndGetString(
absl::StatusOr<std::string> CreateTempDirAtCWD(); absl::StatusOr<std::string> CreateTempDirAtCWD();
#endif // SAPI_LIBARCHIVE_EXAMPLES_MINITAR_H #endif // SAPI_LIBARCHIVE_EXAMPLES_MINITAR_H

View File

@ -128,3 +128,4 @@ int main(int unused_argc, const char** argv) {
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }

View File

@ -26,3 +26,4 @@ target_link_libraries(sapi_minitar_test PRIVATE
) )
gtest_discover_tests(sapi_minitar_test) gtest_discover_tests(sapi_minitar_test)

View File

@ -305,3 +305,4 @@ TEST_F(MiniTarTest, TestPaths) {
} }
} // namespace } // namespace