mirror of
https://github.com/passbolt/go-passbolt-cli.git
synced 2025-05-14 19:48:21 +00:00
Add comment to filterFolders function
This commit is contained in:
parent
7db321f130
commit
20e3a72c92
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ var celEnvOptions = []cel.EnvOption{
|
||||||
cel.Variable("ModifiedTimestamp", cel.TimestampType),
|
cel.Variable("ModifiedTimestamp", cel.TimestampType),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Filters the slice folders by invoke CEL program for each folder
|
||||||
func filterFolders(folders *[]api.Folder, celCmd string, ctx context.Context) ([]api.Folder, error) {
|
func filterFolders(folders *[]api.Folder, celCmd string, ctx context.Context) ([]api.Folder, error) {
|
||||||
if celCmd == "" {
|
if celCmd == "" {
|
||||||
return *folders, nil
|
return *folders, nil
|
||||||
|
|
Loading…
Add table
Reference in a new issue