Skip to content

Instantly share code, notes, and snippets.

@zoffixznet

zoffixznet/p6.p6 Secret

Created July 26, 2017 13:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/3d74bdcd403c0f4dcce7c1b1c12f4987 to your computer and use it in GitHub Desktop.
Save zoffixznet/3d74bdcd403c0f4dcce7c1b1c12f4987 to your computer and use it in GitHub Desktop.
our sub object_repo_exist($yaml, $object, $object_name, $group_name) is export {
$yaml.datas.first: *<group> eq $group_name
andthen .first: *.{$object} eq $object_name
andthen return True;
False
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment