Created
June 14, 2013 16:23
-
-
Save tparton42/5783276 to your computer and use it in GitHub Desktop.
Example output from custom ColdFusion function, getFreeSpace()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfset variables.structTest = structNew()/> | |
<!--- Determine the current file path ---> | |
<cfset variables.structTest.current_folder = expandPath("/") /> | |
<!--- Lookup free space based on the passed in file path ---> | |
<cfset variables.structTest.freeSpace = numberFormat(getFreeSpace(variables.structTest.current_folder)) /> | |
<cfdump var="#variables.structTest#" label="structTest" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment