Skip to content

Commit

Permalink
feat: added git diff
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Jun 30, 2024
1 parent 1ea0a35 commit 68307d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/controllers/base_file_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,10 @@ func PostBaseFileExport(rootPath string, c *gin.Context) {
c.File(zipFilePath)
}

func GetBaseFileFsSvc(rootPath string) (svc interfaces.FsServiceV2, err error) {
return getBaseFileFsSvc(rootPath)
}

func getBaseFileFsSvc(rootPath string) (svc interfaces.FsServiceV2, err error) {
workspacePath := viper.GetString("workspace")
fsSvc := fs.NewFsServiceV2(filepath.Join(workspacePath, rootPath))
Expand Down

0 comments on commit 68307d2

Please sign in to comment.