mirror of
https://github.com/get-drexa/drive.git
synced 2025-12-06 00:01:40 +00:00
feat: add query param to include dir path in query
This commit is contained in:
@@ -23,7 +23,7 @@ func (r *HierarchicalKeyResolver) ShouldPersistKey() bool {
|
||||
}
|
||||
|
||||
func (r *HierarchicalKeyResolver) Resolve(ctx context.Context, db bun.IDB, node *Node) (blob.Key, error) {
|
||||
path, err := buildNodeAbsolutePath(ctx, db, node)
|
||||
path, err := buildNodeAbsolutePathString(ctx, db, node)
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
@@ -32,7 +32,7 @@ func (r *HierarchicalKeyResolver) Resolve(ctx context.Context, db bun.IDB, node
|
||||
}
|
||||
|
||||
func (r *HierarchicalKeyResolver) ResolveDeletionKeys(ctx context.Context, node *Node, allKeys []blob.Key) (*DeletionPlan, error) {
|
||||
path, err := buildNodeAbsolutePath(ctx, r.db, node)
|
||||
path, err := buildNodeAbsolutePathString(ctx, r.db, node)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user