feat: add blob store Initialize method

This commit is contained in:
2025-11-29 18:39:21 +00:00
parent ab4c14bc09
commit 42b805fbd1
3 changed files with 11 additions and 0 deletions

View File

@@ -24,6 +24,10 @@ func NewFSStore(config FSStoreConfig) *FSStore {
return &FSStore{config: config}
}
func (s *FSStore) Initialize(ctx context.Context) error {
return os.MkdirAll(s.config.Root, 0755)
}
func (s *FSStore) GenerateUploadURL(ctx context.Context, key Key, opts UploadURLOptions) (string, error) {
return s.config.UploadURL, nil
}