Example #1
0
def sent_set_file_id(name):
    return name_to_id(os.path.join('/', SENT_SETS_DIR, name))
Example #2
0
def get_sent_set_dir_id():
    return name_to_id(SENT_SETS_DIR)
Example #3
0
def init_set_sent_dir():
    new_dir(name=SENT_SETS_DIR, parentid=name_to_id('/'), ownerid="ubuntu")
def clstr_set_file_id(name):
    return name_to_id(os.path.join('/', CLUSTER_SETS_DIR, name))
def get_clstr_set_dir_id():
    return name_to_id(CLUSTER_SETS_DIR)
def init_clstr_set_dir():
    new_dir(name=CLUSTER_SETS_DIR, parentid=name_to_id('/'), ownerid="ubuntu")