Skip to content

OpenSourceAIX/ColinTreeFirstRun

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

判断是否首次运行组件

更新于2016.10.2 版本1.0

感谢yunhcl的建议!

内含两个函数

  1. 查询是否首次运行,如果是,返回true并自动标记已运行;如果不是首次运行,则返回false
  2. 清除“已经运行标签”,会使得下次检查“是否首次运行”返回true

原网址:http://www.source-space.cn/down/FirstRun
作者:ColinTree

Check if the first time to run component

Version1.0 Update in Oct.2, 2016

Thanks for your advice yunhcl!

Included two function

  1. Check if it is the first time to run, if it is true, return "true" and set a flag; If it is not the first time(flag existed), Return "false"
  2. Clear the flag, causes returning true if check if it is first time to run

Original Web Page:http://www.source-space.cn/down/FirstRun
Author: ColinTree

About

判断是否首次运行组件 / Check if the first time to run component - By ColinTree

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages