dbfile.file.Rd
These functions check the dbfiles and machines tables to see if the file
exists, and return the container_id (dbfile.id
) or full filename
with path (dbfile.file
) to the first one found.
If none is found, both will return NA.
filename on host, or NA if none found
dbfile.file()
: Return full path to file from the dbfiles table
dbfile.id()
: Return id to container type given a filename
if (FALSE) { # \dontrun{
dbfile.file('Input', 7, dbcon)
} # }
if (FALSE) { # \dontrun{
dbfile.id('Model', '/usr/local/bin/sipnet', dbcon)
} # }