aboutsummaryrefslogtreecommitdiffstats
path: root/storage/filesystem/storage.go
diff options
context:
space:
mode:
authorenverbisevac <enver@bisevac.com>2023-10-06 02:54:20 +0200
committerenverbisevac <enver@bisevac.com>2023-10-08 00:40:30 +0200
commit479d3e952e75d6e41b71a81cc9a92dec792825ba (patch)
treed2cfec4017f7a1aadd295cb900046fe34c90a39b /storage/filesystem/storage.go
parentced662e9db6667069a5255446425ec40d388f7e1 (diff)
downloadgo-git-479d3e952e75d6e41b71a81cc9a92dec792825ba.tar.gz
git: clone --shared implemented
Diffstat (limited to 'storage/filesystem/storage.go')
-rw-r--r--storage/filesystem/storage.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/filesystem/storage.go b/storage/filesystem/storage.go
index 7e7a2c5..2069d3a 100644
--- a/storage/filesystem/storage.go
+++ b/storage/filesystem/storage.go
@@ -74,3 +74,7 @@ func (s *Storage) Filesystem() billy.Filesystem {
func (s *Storage) Init() error {
return s.dir.Initialize()
}
+
+func (s *Storage) AddAlternate(remote string) error {
+ return s.dir.AddAlternate(remote)
+}