From wiki.ginstr.com
Jump to: navigation, search
m (formatting)
 
Line 10: Line 10:
 
===Check if file is identical===
 
===Check if file is identical===
  
;<code>[gn:act_isIdenticalFile]|[source]</code>
+
:;<code>[gn:act_isIdenticalFile]|[source]</code>
  
{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
+
:{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
 
|-
 
|-
 
! scope="col" | Parameter
 
! scope="col" | Parameter
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
| [[source]]
+
| <code>[[source]]</code>
 
| [[source]] from where the file information will be used
 
| [[source]] from where the file information will be used
 
* Valid [[source|sources]]:
 
* Valid [[source|sources]]:
Line 26: Line 26:
  
 
====Example====
 
====Example====
<code>@drawable/resourceId</code> - file reference<br><br>
+
:<code>@drawable/resourceId</code> - file reference<br>
<code>[gn:act_isIdenticalFile]|[@drawable/resourceId]</code>
+
:; ⤷ <code>[gn:act_isIdenticalFile]|[@drawable/resourceId]</code>
 
<hr>
 
<hr>

Latest revision as of 16:07, 12 July 2017

gn:act_isIdenticalFile

Description
Action used to compare if file that is stored on device is identical to file information last stored.
Action returns
boolean

Action signatures

Check if file is identical

[gn:act_isIdenticalFile]|[source]
Parameter Description
source source from where the file information will be used
  • Valid sources:
    • @drawable
    • hardcoded file path

Example

@drawable/resourceId - file reference
[gn:act_isIdenticalFile]|[@drawable/resourceId]