/home/techb158/ileadtechnology.com/vendor/spatie/db-dumper/src/Databases
NameSizeModeActions
MongoDb.php32300644editdlrm
MySql.php82830644editdlrm
PostgreSql.php41050644editdlrm
Sqlite.php14870644editdlrm
Edit: /home/techb158/ileadtechnology.com/vendor/spatie/db-dumper/src/Databases/Sqlite.php (1487B)
getProcess($dumpFile); $process->run(); $this->checkIfDumpWasSuccessFul($process, $dumpFile); } /** * Get the command that should be performed to dump the database. * * @param string $dumpFile * * @return string */ public function getDumpCommand(string $dumpFile): string { $dumpInSqlite = "echo 'BEGIN IMMEDIATE;\n.dump'"; if ($this->isWindows()) { $dumpInSqlite = '(echo BEGIN IMMEDIATE; & echo .dump)'; } $quote = $this->determineQuote(); $command = sprintf( "{$dumpInSqlite} | {$quote}%ssqlite3{$quote} --bail {$quote}%s{$quote}", $this->dumpBinaryPath, $this->dbName ); return $this->echoToFile($command, $dumpFile); } /** * @param string $dumpFile * @return Process */ public function getProcess(string $dumpFile): Process { $command = $this->getDumpCommand($dumpFile); return Process::fromShellCommandline($command, null, null, null, $this->timeout); } }