Skip to content

Commit

Permalink
Merge pull request #215 from FleekHQ/develop
Browse files Browse the repository at this point in the history
Release develop to master
  • Loading branch information
jsonsivar authored Oct 21, 2020
2 parents 1bef0c3 + 9868777 commit e51b415
Show file tree
Hide file tree
Showing 32 changed files with 2,480 additions and 931 deletions.
4 changes: 2 additions & 2 deletions core/fsds/files_ds.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (f *filesDataSource) Get(ctx context.Context, path string) (*DirEntry, erro

log.Debug("FileDS Get", fmt.Sprintf("path:%s", path))

itemsInParent, err := f.service.ListDir(ctx, path, DefaultBucketName)
itemsInParent, err := f.service.ListDir(ctx, path, DefaultBucketName, true)
if err != nil {
if !isNotExistError(err) {
return nil, EntryNotFound
Expand Down Expand Up @@ -87,7 +87,7 @@ func (f *filesDataSource) Get(ctx context.Context, path string) (*DirEntry, erro

func (f *filesDataSource) GetChildren(ctx context.Context, path string) ([]*DirEntry, error) {
log.Debug("FileDS GetChildren", fmt.Sprintf("path:%s", path))
domainEntries, err := f.service.ListDir(ctx, path, DefaultBucketName)
domainEntries, err := f.service.ListDir(ctx, path, DefaultBucketName, true)
if err != nil {
return nil, err
}
Expand Down
6 changes: 4 additions & 2 deletions core/space/domain/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ type AddWatchFile struct {
BucketPath string `json:"bucket_path"`
BucketKey string `json:"bucket_key"`
BucketSlug string `json:"bucket_slug"`
IsRemote bool `json:"isRemote"`
}

type Identity struct {
Expand Down Expand Up @@ -159,8 +160,9 @@ type MirrorFile struct {
}

type SharedDirEntry struct {
DbID string
Bucket string
DbID string
Bucket string
IsPublicLink bool
FileInfo
Members []Member // XXX: it is duplicated from FileInfo
}
Loading

0 comments on commit e51b415

Please sign in to comment.